Date: Thu, 9 Mar 2000 10:34:00 +0800 From: lawrence.hy.cheung@philips.com To: <jeremy@intersurf.com> Cc: <freebsd-questions@freebsd.org> Subject: Re: gateway Message-ID: <0056920005123531000002L212*@MHS>
next in thread | raw e-mail | index | archive | help
Hello jeremy,
You problem is due to no 'IP masqurade' function in pppd daemon!
For kernel mode ppp daemon (pppd), as far as I know, you need to configure 'natd' plus 'ipfw' for IP alias service.
Another choice is ' IP Filter'. FreeBSD provides both in base system but you need to rebuild kernel to enable them.
In my exprience, I cannot discover the diffrence of performance between 'pppd' & 'ppp'. However, user mode ppp
is much easy than pppd for configuring IP aliasing (IP masqurade) so than I choose ppp now.
Moreover, you can launch 'ppp' at the ' rc.conf ' processing phase of every boot. Please check /etc/defaults/rc.conf.
Regards,
Lawrence H.Y. Cheung
P.S. Please read pppd mannual page "man pppd", to confirm it supports 'IP masquerade' or not
For building firewall with user mode 'ppp', I like 'IP Filter' rather than 'ipfw'.
jeremy@intersurf.com@SMTP@FreeBSD.ORG on 03/09/2000 04:13:32 AM
Sent by: owner-freebsd-questions@FreeBSD.ORG
To: freebsd-questions@freebsd.org@SMTP
cc:
Subject: gateway
Classification: Restricted
I'm running FreeBSD 3.3-RELEASE, and I'm trying to get it to act as a gateway
for my Windows 2000 box. I can get online fine from my FreeBSD using Kernel
PPP (pppd).
I already have gateway_enable="YES" in /etc/rc.conf but it still doesn't work.
My Windows 2000 box has the IP of my FreeBSD box for it's default gateway
for the LAN connection. The Pedantic PPP Primer on FreeBSD.org says that I
should use 'ppp -alias' to allow this, but that is for user PPP.
Also, I used ms_dns in /etc/ppp/options (using my ISPs DNS servers)...
ms_dns "216.115.128.33"
ms_dns "216.115.128.10"
... I'm about to try it without the quotes
As far as I'm aware the LAN is ok, because I can telnet, ftp, ping, etc. to
each computer, but my Windows box can't see the outside world when my FreeBSD
box is online.
Could someone please guide me in the right direction?
Thanks,
Jeremy L. Falcon
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?0056920005123531000002L212*>
