[H-GEN] Using iptables to unblock several ports, help please

Harry Phillips harry at 4ward.com.au
Sat Mar 22 09:52:23 EST 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

t wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> Hi
> 
> I need to get Yahoo Messenger working on a windows box which is connecting
> to the internet via Masquerading through a linux box.  I need to open the
> following ports up 5050, 5101, 5100, 5001, 5050, 80, 20, 21, 25, 37 ,119.
> The port 5050 needs only to be able to connect to list of servers at the end
> of the email.
> At this stage I do not know if they need to be udp or tcp, so please tell me
> how to do both, then when I find out which it is I
> will delete the other.
> 
> How do I do this using iptables.
> 

There are others that could probably give you better advice but I use 
the following line

     $IPTABLES -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

-- 

Regards,
Harry Phillips

--- Failure is not an option,
     it comes bundled with your Microsoft product.


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list