Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iptables

Status
Not open for further replies.

llingf

Technical User
Oct 3, 2002
25
0
0
US
hi:
I'm new to linux.
I have problem with my redhat linux firewall I'm trying to open ports 40000-45000
open. this is what I did:
iptabes -A INPUT -p tcp -m tcp --dport 40000:45000 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 40000:45000 -j ACCEPT
Can anyone help this?

thanks in advance.


lin


 
so what's the problem? only Input and no output?

iptabes -A OUTPUT -p tcp -m tcp --sport 40000:45000 -j ACCEPT
iptables -A OUTPUT -p udp -m udp --sport 40000:45000 -j ACCEPT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top