Date: Fri, 12 Oct 2007 18:54:48 -0000 (GMT) From: jhall@vandaliamo.net To: freebsd-net@freebsd.org Subject: NAT Questions Message-ID: <1598.65.117.48.155.1192215288.squirrel@admintool.trueband.net>
next in thread | raw e-mail | index | archive | help
I originally posted this to the FreeBSD questions mailing list, but did not receive any responses. If you are reading this for the second time, please accept my apologies. My ISP insists on handing all http traffic off to me on a separate IP address. Following is my configuration. External Interface------->Internal Interface--------> Rest of network 1.2.3.4/24 10.129.10.40/24 1.2.3.5/32 Alias 1.2.3.5/24 is the IP address all http traffic will come in on. 1.2.3.4/32 is the IP address all other traffic will come in on. Both of these addresses reside on a single NIC with 1.2.3.5 being an alias. ipnat.rules rdr 1.2.3.5/32 port 80 -> 10.129.10.49 port 80 map em1 10.129.10.0/24 -> 0.0.0.0/32 10.129.10.49 has 10.129.10.40 (my firewall) listed as its default gateway. When it responds to a request that has been forwarded, how will the firewall return the response? Will it return the request on 1.2.3.5? Thanks for your help and if any additional information is needed, please let me know. Jay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1598.65.117.48.155.1192215288.squirrel>