> From: "Hernan Brun" <[EMAIL PROTECTED]> > > Hi folks !! > I have a Redhat 7.1 working with iptables. > My problems is when two or more clients try to access the same irc o web > chat or any site which allow just one ip coneccted at time... refuse the > other ip. The first conected work fine.. the second, third and so on.. canīt > connect. > What is wrong???? > > My simple script is this: > > $IPTABLES -P FORWARD ACCEPT > $IPTABLES -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j > ACCEPT > $IPTABLES -A FORWARD -i eth0:0 -o eth1 -m state --state > ESTABLISHED,RELATED -j ACCEPT > $IPTABLES -A FORWARD -i eth1 -o eth0 -j ACCEPT > $IPTABLES -A FORWARD -j LOG > $IPTABLES -t nat -A POSTROUTING -o eth0 -j MASQUERADE > > Thanks in advance > > Hernan Brun
You said it (sort of) - it's not going to work for sites that only allow one connection per ip address. Masquerading/NAT makes it look all the computers are that are being masquerading are coming from one computer/ip address. Dave _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list