Date: Sat, 6 Feb 1999 17:27:08 -0500 (EST) From: Thomas David Rivers <rivers@dignus.com> To: freebsd-questions@FreeBSD.ORG, rivers@lakes.dignus.com Subject: PPP and ipfw/natd - what's the interface to use for natd? Message-ID: <199902062227.RAA00444@lakes.dignus.com>
next in thread | raw e-mail | index | archive | help
Ok -
My ISP is moving me off of SL/IP and onto PPP. So, I've got to brave
the waters and set everything up again.
I believe using pppd is pretty straight forward, and shouldn't present
me with too many problems... but, I have a question.
Right now, I use the following ipfw/natd rules to do some forwarding
and gateway stuff:
(from /etc/rc.conf):
natd_interface="sl0"
natd_flags="-m -u -dynamic -redirect_port tcp 10.0.0.11:telnet 6666 -redirect_port udp 10.0.0.11:telnet 6666"
And, from /etc/rc.firewall:
...
$fwcmd add divert natd all from any to any via ${natd_interface}
...
$fwcmd add 400 pass tcp from any to 166.82.177.48 7490
$fwcmd add 401 pass tcp from any to 10.0.0.10 7490
$fwcmd add 65000 pass all from any to any
So - now - how do I redo this using pppd? Basically, I'm asking what
the natd_interface should be. Is it tun0? Just what is the interface
in this case? I'd rather change a little as possible, so I'd like to
just get pppd working (kernel-mode ppp) with my current natd/ipfw
setup instead of using the ppp natd support...
- Thanks -
- Dave Rivers -
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?199902062227.RAA00444>
