Date: Sun, 15 Apr 2001 02:40:03 +0200 From: universe <universe@truemetal.org> To: freebsd-questions@freebsd.org Subject: difference between ppp nat and natd. Message-ID: <3AD8EDE3.2D62D935@truemetal.org>
next in thread | raw e-mail | index | archive | help
hi list, i've changed from a dial-up isdn to a pppoe adsl connection today. while i was successfully using isdn4bsd (isdnd) for the past few months i now had to switch to userland ppp because of the need for pppoe support. in conjunction with isdnd i also ran natd for the masqueraded machines in the private network (192.168.0.0/24) and a divert ipfw rule which worked just fine. now on to my question: what's the drawback when using natd in conjunction with userland ppp? the natd man page says: This program provides a Network Address Translation facility for use with divert(4) sockets under FreeBSD. It is intended for use with NICs - if you want to do NAT on a PPP link, use the -nat switch to ppp(8). during the past hours of experimenting with the new adsl connection i realized that the nat support of userland ppp seems not to be as reliable as natd. for instance, when playing several games one needs to specify the specific ip ports that the game needs for properly connecting, eg. a master game server, in "ppp.conf" in advance. there's a list of some games' that require this step: http://www.de.freebsd.org/FAQ/ppp.html#PPP-NAT-GAMES natd on the other side doesn't require this step, it obviously recognizes which tcp/udp packets are designated for which masqueraded machine behind the gateway that is running natd. or, to put an example: running counterstrike (halflife) on a win98 box with userland ppp nat doesn't work without setting the "nat port xyz" in "ppp.conf". the game works without any additional nat configuring (redirect port) when running natd, though. therefore i stopped using the nat support of userland ppp and switched back to using natd and everything seems to be working great so far, although the natd man page says natd shouldn't be run on a ppp link. why not? thanks, markus 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?3AD8EDE3.2D62D935>