How do you put 3proxy on the server?
-
Got a server. We need to raise 3proxy or any other such proxy-server.
There are two ip addresses on the server: 222.222.222.222.222.222.222 and 192.168.10 (this is the address that the server receives through tunneling). This address is white and online with an address 111.111.111.111
I raised 3proxy and I managed to build everything with an internal 222 address. 222.222.222 external 222.222.222.222.222
How do you build 192.168.10, so that I can connect to it from outside and use as a proxy?
-
No directive may be specified internal and external, and when the proxy describes it separately.
auth iponly deny * * allow * 192.168.10.0/24 * * * #разрешаем подключаться только из этой сети. proxy -a -i 192.168.10.10 -e 222.222.222.222 -p 8080 #i -входящий адрес, e - исходящий адрес, p - порт. flush
auth iponly
deny * *
allow * * * * * #разрешаем подключаться всем к этому прокси.
proxy -a -i 222.222.222.222 -e 222.222.222.222
It's the same as not to say--i, then listen to all the interfaces.
But the proxy has to see these physical interfaces, which means you can't point out the deleted address 111.111.111.111
If I were you, I'd make a cascade proxy. I mean, there'd be 3proxy on the remote car, and there's a parent's proxy on it. For example:
allow *
parent 1000 http 111.111.111.111 3128
proxy -p8080