Portal Home > Knowledgebase > Articles Database > how work with iptables ???
how work with iptables ???
Posted by mixmox, 12-25-2009, 12:35 PM |
hello. how can i open/blcok port with iptables
how about open/block ip.
can i config iptables like csf.conf? (if yes how) ?
tnx
|
Posted by madaboutlinux, 12-25-2009, 12:49 PM |
Well, iptables isn't easy to play with. There are lots of basic tutorials for iptables out there... you can refer any.
No, you cannot. There is no graphical interface to write down the iptable rules.
Regarding CSF, it uses iptables in the background to deal with all the rules we configure. You just have to edit the csf configuration file and set the rules as per your needs and csf will set the rules for you.
Just an FYI, if you are on a VPS, make sure your host have enabled the required iptables modules on your VPS.
|
Posted by Aun Muhammad, 12-25-2009, 06:58 PM |
Almost all firewall on Linux systems are based on the Iptables. The best way to work with iptables is to use its standard command for ports and IP allowing/blocking. Alternatively you can do some little by manually editing and adding things in /etc/sysconfig/iptables file if you have a standard server without any control panel.
|
Posted by david510, 12-25-2009, 07:20 PM |
Open a port.
Drop a port
Open an IP
Drop an IP
|
Posted by mixmox, 12-26-2009, 12:34 AM |
tnx from all of you my friend
|
Add to Favourites Print this Article
Also Read