hi everybody i am a new member of forums. I have a question,please help me :
i have a static public IP 212.40.41.34 (eth1) and private ip 192.168.0.1 and i want to share this internet connection with eth1 with some computers in my rooms,in my /etc/sysconfig/iptables i wrote
*mangle
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A POSTROUTING -d ! 192.168.0.1 -j SNAT --to-source 212.40.41.34
COMMIT
*filter
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
COMMIT
and everything is terrible

can anyone tell me why ? thanks thanks