Date: Sun, 12 Aug 2001 17:31:05 -0400 From: "Brent Bailey" <mrb@mail.bmyster.com> To: "Annihilator" <annihilator.c@usa.net>, <freebsd-questions@FreeBSD.ORG> Subject: Re: IPFilter NAT Port Forwarding Message-ID: <001e01c12376$19e00770$0100a8c0@loqtis> References: <000d01c12371$2a23a420$0100a8c0@pilar>
next in thread | previous in thread | raw e-mail | index | archive | help
does the router machine use divert ??? or natd you can do redirect_port like so: in /etc/rc.conf natd_flags="-redirect_port tcp 192.168.100.1:80 80 this will redirect any request on port 80 of the router machine to 192.168.100.1:80 hope this helps Brent ----- Original Message ----- From: "Annihilator" <annihilator.c@usa.net> To: <freebsd-questions@FreeBSD.ORG> Sent: Sunday, August 12, 2001 4:55 PM Subject: IPFilter NAT Port Forwarding > I need to forward all inbound traffic for a certain port on one > interface of the router to a NAT'd machine on another. How can I > accomplish this using IPfilter, which I'm using for NAT on the router > machine? What must I put in my ipnat.rules? > This doesn't seem to work: > rdr tun0 0/32 port 122 -> 192.168.0.14 port 122 tcp > > Please cc to my e-mail address. > Annihilator > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?001e01c12376$19e00770$0100a8c0>