From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: Routing though PPP connection
Date: Wed, 7 Aug 1996 02:43:11 -0500 (CDT) [thread overview]
Message-ID: <2b50e925c27183092d069bc33e85d35c.axp-list@archive.invalid> (raw)
In-Reply-To: <3208436B.237C@kkeka.ericsson.se>
> 4. Is there any other trick one can use to get this up and running?
> (I've read about the IP Masquarade, but the ipfw(8) command isn't
> supported on my axp with kernel 1.3.90 - at least what I've read in
> net-tools packages found by me.)
I'm happily using ipfwadm on an alpha with a 2.0.11 kernel to do just
what you want. It compiles out of the box; I believe there was one
print command that scaled time wrong for the alpha, but is otherwise
works great. I believe linux/Documentation/Changes has a pointer to
the home site for this package.
Like you, I've got dynamic IP address assignments on the PPP side. The
internal network side is using the non-routed 192.168.2.0 network.
I apppend the rc script that is invoked just after the network is
initialized in states 3 and 5. The documentation for ipfwadm is
somewhat thin; it took me a bit to figure out what it wanted to do its
thing.
r~
-----
#!/bin/sh
#
# fw.init Bring up/down the masquerade firewall
#
# Source function library.
. /etc/rc.d/init.d/functions
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
[ -f /sbin/ipfwadm ] || exit 0
# See how we were called.
case "$1" in
start)
echo "Starting IP Masquerading"
ipfwadm -F -i accept -S 192.168.2.0/8 -D 0.0.0.0/0 -m
ipfwadm -M -s 3600 120 300
;;
stop)
ipfwadm -F -d accept -S 192.168.2.0/8 -D 0.0.0.0/0 -m
;;
esac
exit 0
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next prev parent reply other threads:[~1996-08-07 7:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-07 7:19 Routing though PPP connection Johan Sarkinen
1996-08-07 7:43 ` Richard Henderson [this message]
1996-08-07 14:29 ` Doug DeJulio
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox