Re: Setting up Debian 2.2 issues
On Tue, 26 Sep 2000, Kam Tik wrote:
> Jason wrote:
> > 1. How to setup ppp0 interface for dialup to work. I prefer ppp0 since
> > it's very easy and consume less resources.
> try to run pppconfig
> or you can use wvdial
> > 2. How to enable IP forwarding in order to share modem dial up ?
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -A forward -j MASQ -s 192.168.1.0/24 -i ppp0