Date: Mon, 16 Apr 2001 08:50:01 -0700 (PDT) From: James Howard <howardjp@well.com> To: freebsd-questions@freebsd.org Subject: NAT with FreeBSD Message-ID: <Pine.GSO.4.21.0104160849220.22248-100000@well.com>
next in thread | raw e-mail | index | archive | help
I am trying to set up a FreeBSD NAT firewall. The external interface (fxp0) has an IP address of 172.25.21.20 (don't ask). The internal (sis0) is 10.1.1.1. I have a PC behind it that is 10.1.1.10. The NAT and all that works fine with these rules: 00100 328030 140010702 divert 8668 ip from any to any via fxp0 00200 578062 181527330 allow ip from any to any 65535 534 67432 deny ip from any to any Now here is the trick. I want 172.25.21.21:25 to magically appear on 10.1.1.10:25. All the documentation I have seen on this says I should have the firewall listening to 172.25.21.21:25 and proxy through, but this changes the source address on the final receiver. But I know this can be done without modifiying the source address since I have done this with Netscreens. But I do not know how with FreeBSD. Can someone whack me with a clue stick? Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0104160849220.22248-100000>