Koozali.org: home of the SME Server

Need help with IP forwarding using x-forward

sysadmin

Need help with IP forwarding using x-forward
« on: February 20, 2007, 04:58:46 PM »
I have SME7 set up as a firewall and would like to forward the internal IP addresses through the box to my internet provider. I am told that this can be done with x-forward commands through squid.

Any ideas?

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Need help with IP forwarding using x-forward
« Reply #1 on: February 21, 2007, 06:24:25 AM »
Quote from: "sysadmin"
I have SME7 set up as a firewall and would like to forward the internal IP addresses through the box to my internet provider.


Why? Internal addresses usually have no meaning outside the local network. They are normally RFC1918 private addresses and not routable, even from your ISP.

Quote from: "sysadmin"

I am told that this can be done with x-forward commands through squid.


Squid will automatically insert an X-Forwarded-For: header:

http://en.wikipedia.org/wiki/X-Forwarded-For
............