Re: IP masquerading
On 10 Dec 2000, Willy Lee wrote:
> "Kyle" == Kyle Peterson <kyle.peterson@sk.sympatico.ca> writes:
>
> > I was reading the IP masq how-to and it shows how to setup ipchains
> > in a rc.firewall file. From what I gather, debian uses a different
> > boot system. How would I make the rc.firewall for a debian system?
> > I am new to debian, I am used to using redhat.
>
> Install the 'ipmasq' Debian package. Configure, read its docs.
> Nothing could be easier. (er, unless you have a non-standard
> setup)
I am new to Debian, but is this still true? I do not have this package
installed, but I am doing IP masquerading on my 2.2 installation just
by making a script to execute on boot from the commands:
ipchains -P forward DENY
ipchains -A forward -i ppp0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
after launching my pppd (dial on demand).
Perhaps there are different ways to do it.
Dwight
Reply to: