First of all, thanks for all the help i got with my lilo problem. It
works now, thanks to all hints and tips.

But i have another problem setting up Masquerading with iptables.

I have a cable connection, on eth1, eth0 (192.168.0.1) is connected to a
hub, 
which connects 192.168.0.2 and 192.168.0.3 to 192.168.0.1.
I have this script to provide masquerading:

#!/bin/bash

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables -v --table nat --append POSTROUTING --out-interface eth1 -j 
MASQUERADE
iptables -v --append FORWARD --in-interface eth0 -j ACCEPT

Then iptables reports:

MASQUERADE  all opt -- in * out eth1  0.0.0.0/0  -> 0.0.0.0/0  
ACCEPT  all opt -- in eth0 out *  0.0.0.0/0  -> 0.0.0.0/0  

so, this looks not good to me (and not to iptables too). I probably
forgot 
something, somewhere. The question is what and where? Ipchains is out of
the way,
Iptable module inserted.

Bert.






_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to