Date: Fri, 24 May 2002 23:32:34 -0800 From: Mark-Nathaniel Weisman <mark@outlander.us> To: Patrick Soltani <psoltani@ultradns.com>, <freebsd-questions@freebsd.org> Subject: Re: NATD on 4.5 Message-ID: <B9147E11.4644%mark@outlander.us> In-Reply-To: <3DBB075EEB95944492E127F2B9A96FAF5DD816@ultra-exchange.UltraDNS.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 5/24/02 9:56 AM, Patrick Soltani at psoltani@ultradns.com wrote: > 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 > In the additional file I create (natd.conf)? Do I then add everything that was in quotes? "-redirect_port tcp IPAddress:http 80" "-redirect_port tcp IPAddress:https 443" and so forth, until all the things I want routed are routed? -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9147E11.4644%mark>