skimpydog.com Forum Index Services IPTABLES |
Browsing this Thread:
1 Anonymous Users
Bottom Previous Topic Next Topic |
|
|
|
---|
Poster | Thread |
---|
|
IPTABLES | #1 |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Webmaster
Joined: 2007/6/10
From Dallas, TX
Posts: 79
Level : 7 HP : 0 / 170 Group:
Webmasters Registered Users |
iptables is really quite a responsibility to maintain.
In too many regards it is not necessary to block entire countries, or to allow only specified countries. -- This can put a strain on your server - and it is not good practice. --- There are other applications such as APF to take care of things dynamically A Few basic tips for applying, and removing iptables rules are as follows: Allow a few basic services:
Save your settings (2 ways - depends on your Linux/UNIX flavor): 1:
2:
Let's say I want to allow udp port 27960 to line 5:
-- Again, don't forget to save your settings! If you are running RHEL, CENTOS, Fedora - Redhat flavors, you may make sure the service starts upon reboot as it should, by doing:
-- This will allow iptables to start on all run levels. If you want to view the iptables rules, again you have 2 options here depending on your flavor: 1:
2:
|
||||||||||
Posted on: 2008/10/4 17:08
|
Top Previous Topic Next Topic |
|