Date: Fri, 24 May 2002 10:56:42 -0700 From: "Patrick Soltani" <psoltani@ultradns.com> To: "Mark-Nathaniel Weisman" <mark@outlander.us>, <freebsd-questions@freebsd.org> Subject: RE: NATD on 4.5 Message-ID: <3DBB075EEB95944492E127F2B9A96FAF5DD816@ultra-exchange.UltraDNS.com>
next in thread | raw e-mail | index | archive | help
Put this line in your /etc/rc.conf file natd_flags="-f /etc/natd.conf" then create a file /etc/natd.conf that has all the redirection you want to do. All should work. Read the man pages on natd, it has some pointers on how the redirection is implemented; link list I think, and its side effects. Regards, Patrick Soltani. > -----Original Message----- > From: Mark-Nathaniel Weisman [mailto:mark@outlander.us] > Sent: Thursday, May 23, 2002 11:22 PM > To: freebsd-questions@freebsd.org > Subject: NATD on 4.5 > > > on 5/23/02 9:31 PM, Lubomir Radev at lubomirr@sympatico.ca wrote: > > Hello List; > I've got natd and ipfw setup on my 4.5 freeBSD box. I'm > using the box as my > router/firewall from the public net to a web server on a > class C network for > some protection. I've recompiled the kernel, and got > everything working > except for one minor inconvenence; I can only route one port > to an internal > box in rc.conf? The one port routing works, unless I (un-rem > out) the lines > for the other ports: > > natd_flags="-redirect_port tcp 192.168.100.2:80 80" > > These lines are commented out; > natd_flags="-redirect_port tcp 192.168.100.2:443 443" > natd_flags="-redirect_port tcp 192.168.100.2:21 21" > > If I un-comment either of the lines directly above, then > nothing works. Can > anyone help? > > > -- > His Servant, > Mark-Nathaniel Weisman > Webmaster > Infinite Visions Creations > Anchorage, AK > http://www.infinitevisions.ws > mark@infinitevisions.ws > > > 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?3DBB075EEB95944492E127F2B9A96FAF5DD816>
