[tproxy] proxy app and server app on the same host (SOLVED)
for-forums at mutluit.com
Wed Jan 21 17:19:23 CET 2015
I finally managed to get both the proxy-app and server-app
run on the same host by placing the server app into
a linux container (LXC) on the same host and using
a bridge (br0) for the container(s).
The server-app (currently a test app) sends this msg:
hello to client 22.214.171.124:57456 from server 10.10.20.2:8847 via proxy
Previously the host had the IP 192.168.68.22, then I experimented with
public IPs behind NAT :-), so since now the 126.96.36.199 works I'll let it so.
This IP belongs to someone else in Australia, but it IMHO doesn't matter
because I'm using it inhouse behind NAT... :-) for testing only.
The 188.8.131.52 is one of my own public IPs (mutluit.net). The test client
If I find time I'll repeat the test with the 192.168 adress, but not now... :-)
Phew.. this was a prohibitly hard & expensive job... took me about a week to
finally come to this f..ing solution... :-)
More information about the tproxy