Hi all... I am trying to get a laptop to connect to the world through my linux box, running up to date cooker (note: custom kernel). I used mcc to configure internet connection sharing, and it did not work. I began to dig, and then I found this (both shorewall and rc.masq try to do something similar):
werewolf:/etc/rc.d# ./rc.masq Configuring IP-Masquerading External Interface: eth0 Internal Interface: eth1 Loading modules: ip_tables, ip_conntrack, ip_conntrack_ftp, ip_conntrack_irc, iptable_nat, ip_nat_ftp, . Done loading modules. enabling forwarding.. enabling DynamicAddr.. clearing any existing rules and setting default policy.. FWD: Allow all connections OUT and only existing and related ones IN Enabling SNAT (MASQUERADE) functionality on eth0 iptables: Invalid argument before HERE Bad command is: $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE echo " before HERE" that evals to: /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Any clue ? Thanks. -- J.A. Magallon <[EMAIL PROTECTED]> \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.1 (Bamboo) for i586 Linux 2.4.21-pre6-jam1 (gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk))
