This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTTP proxy and VPN tunnel

I'm trying to access a apache web server over an net to net ipsec 3des vpn tunnel and the http proxy (squid) do not let me go. Stopping the http proxy service, I have no problem accessing that Apache web server. Also I have no problem accessing web server over Internet using the http proxy service.

Any idea ?.

Thank's


This thread was automatically locked due to age.
  • that's a tricky one, what happens is, the proxy is picking up the http traffic and makes the request as a proxy with the external IP of your firewall which is not part of the VPN tunnel. Two possibilities, don't use the proxy ;-) or bypass the proxy (which is not possible in WebAdmin).
    What you can do to bypass the proxy, login as root, change the dir to /sbin/init.d, create a file ipnat.local with 'touch ipnat.local' and then change the access rights to 400 with 'chmod 400 ipnat.local'. Add a line in the file '/usr/local/bin/iptables -I AUTO_NAT_PRE -t nat -s ip-address of localnet/24 -d ip-address of web service/32 -j RETURN' to execute this each time the middleware starts, to test simply execute the command without restarting. should work...