[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MOL



Jens Schmalzing wrote:

> > It also does not allow me to browse the internet (once I have
> > established a ppp connection to my isp).
> 
> This will work if you enable network address translation and IP
> forwarding.  I use
> 
>  iptables -t nat -A POSTROUTING -j SNAT --to $IP -s $MOLNET -o $DEVICE
>  echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> where $IP and $DEVICE are the address and networking device,
> respectively, that Linux uses for connecting to the outside world, and
> $MOLNET is the network used between Linux and mol (192.168.1.0/24 for
> you).

Just my $0.02: apt-get install ipmasq does this automatically.


-- 
Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \        XFree86 and DRI project member



Reply to: