From: "Stewart" <[EMAIL PROTECTED]>
> > to the internet via Masquerading.  I need to open the
> > following ports up 5050, 5101, 5100, 5001, 5050, 80, 20, 21, 25, 37
> > ,119
>
> if that's the ports needed by yahoo messaging i'd be finding another
> service to use..

actually...after a bit more investigation it seems I only need to open the
port 5100, so can someone please show me how to do that, I have got

iptables -A OUTPUT -p tcp -o eth0  --dport 5100 -j ACCEPT
iptables -A OUTPUT -p udp -o eth0  --dport 5100 -j ACCEPT
iptables -A OUTPUT -p tcp -o eth0  --sport 5100 -j ACCEPT
iptables -A OUTPUT -p udp -o eth0  --sport 5100 -j ACCEPT
iptables -A INPUT -p tcp   --dport 5100 -j ACCEPT
iptables -A INPUT -p udp   --dport 5100 -j ACCEPT
iptables -A INPUT -p tcp   --sport 5100 -j ACCEPT
iptables -A INPUT -p udp  --sport 5100 -j ACCEPT

Anything else here I need?

Thanks

Tony



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to