[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: port blocked on FC4



Matthew Benjamin wrote:
Brain burp, can someone tell me how to open a port on FC4, I was thinking it was iptables, however I can't remember how.

--
mB.
iptables -A INPUT -p tcp --dport <portnumber> -m state --state NEW -j ACCEPT

Of course, assuming you have a rule allowing already established connections. If not, remove the '-m state --state NEW' part.

Justin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]