SRCDS Steam group


CentOS Firewall Config help need
#2
Heres a few examples regarding blocking ports and port ranges (you can use whatever chain you want, im using input as an example):
# iptables -A INPUT -p UDP --destination-port 7777:9000 -j DROP
^block ports on UDP ports 7777 to 9000

# iptables -D INPUT -p UDP --destination-port 7777:9000 -j DROP
^unblock those previously blocked ports (-D = delete the rule in the INPUT chain)

# service iptables (start/stop/restart/status)
^self explanatory, status is useful with grep when you have a long list of rules

I can provide more if needed.
Reply


Messages In This Thread
CentOS Firewall Config help need - izanuff - 05-04-2010, 10:28 AM
RE: CentOS Firewall Config help need - ilinx - 05-04-2010, 11:06 AM

Forum Jump:


Users browsing this thread: