ztopher
04-07-2003, 03:21 PM
Hi
I cannot connect to my Linux server (running smb)from my windows 2000 box due to my rc.firewall script ?
But why don't you change the script then? you may think. And this is what I am about to do but I need some help. My question is thus, which tcp and udp port do I need to open in my script?
right now I use the following iptables commands for this after cheking /etc/services for the ports associated with netbios.
### $INTIF=eth1
#INPUT
$IPTABLES -A INPUT -i $INTIF -p tcp --dport 137:139 -j ACCEPT
$IPTABLES -A INPUT -i $INTIF -p udp --dport 137:139 -j ACCEPT
#OUTPUT
$IPTABLES -A OUTPUT -o $INTIF -p upd --sport 137:139 -j ACCEPT
BTW if i flush my iptables rules everything works fine. I hope someone can help me...
Cheers
/Ztophowitch
I cannot connect to my Linux server (running smb)from my windows 2000 box due to my rc.firewall script ?
But why don't you change the script then? you may think. And this is what I am about to do but I need some help. My question is thus, which tcp and udp port do I need to open in my script?
right now I use the following iptables commands for this after cheking /etc/services for the ports associated with netbios.
### $INTIF=eth1
#INPUT
$IPTABLES -A INPUT -i $INTIF -p tcp --dport 137:139 -j ACCEPT
$IPTABLES -A INPUT -i $INTIF -p udp --dport 137:139 -j ACCEPT
#OUTPUT
$IPTABLES -A OUTPUT -o $INTIF -p upd --sport 137:139 -j ACCEPT
BTW if i flush my iptables rules everything works fine. I hope someone can help me...
Cheers
/Ztophowitch