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

Re: MOL



Hi,

> Like I said, this setup allows me to mount linux directories as
> AppleShare Volumes, but it does not allow me to telnet, ftp to
> linux.

Are you sure you are addressing Linux with its IP address 192.168.1.1?
If you want to use the hostname zooey, you indeed have to setup a
nameserver for a local zone.

> 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).

HTH, Jens.

-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe le djuz tqtaj!



Reply to: