Hello All,
I have a linuxbox with 2 NICs working as firewall.
I am using iptables-1.2.1a
One NIC connected to Local lan and another nic is public ip address
connected to router for DSL connection

I was behind this firewall machine
I was not able to do MSN voice chat.
I was able to connect and in another end who connected using dailup modem
when they enable voice chat they get error as "there is problem in network
or computer you are tring to connect"
But in my end i did not get any error.

I set rule as
/sbin/iptables -A FORWARD -p all -s 184.184.1.3/255.255.255.255 -m
mac --mac-source 00:50:fc:3d:98:6c -j ACCEPT
/sbin/iptables -A FORWARD -p tcp --dport 80 -j DROP
/sbin/iptables -A FORWARD -p tcp --dport 443 -j DROP
/sbin/iptables -A FORWARD -p tcp --dport telnet -j DROP
/sbin/iptables -A FORWARD -p tcp --dport 25 -j DROP
/sbin/iptables -A FORWARD -p tcp --dport 110 -j DROP
/sbin/iptables -A FORWARD -p tcp -s 0/0 --dport 21 -j DROP
/sbin/iptables -A FORWARD -p tcp -d 0/0 --dport 20 -j DROP
/sbin/iptables -A FORWARD -p icmp -d 0/0 --icmp-type ping -j DROP
/sbin/iptables -t nat -A POSTROUTING -o eth2 -p all -d 0/0 -j MASQUERADE

I thing this rules are aloowd to connect from machine behind it but it does
not accept the connection from outside

Could you help me to correct this rules.I tried lot of options but failed

-Thanks
Joe




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to