Support > General Support

Need help with iptables firewall

(1/1)

ToTheMax:
Hi,

I need some help here with iptables
Can anyone provide me with some functional iptables rulesets that would work in vps environment?
This  is the iptables script that I'd found online,I'd made some modifications with it. When I'm trying to run it,It'd gives me error or locking me out.

Thank you

siren:
Have you looked into running APF Firewall instead?  It's free and uses IPTables.  It is easier to use and just as secure.

http://www.webhostgear.com/61.html

Deal svengali:

--- Quote from: siren ---Have you looked into running APF Firewall instead?  It's free and uses IPTables.  It is easier to use and just as secure.

http://www.webhostgear.com/61.html
--- End quote ---


I have used APF with BFD in the past and I am very happy with it. I am figuring it does work ok with the VPS, I remember there being problems a while back with the IPtable under virtuozzo?

bewshy:
APF:
Have numiptent set to 300 (Yuri from SW-Soft stated that this should be set no higher then 200 - 300)
disable Egress (I had problems with it YMMV)
set monokern = 1
sanity = 0
USE_DS = 0 (I did this because I have no real use for it and an numiptent of 300 can't handle all of the entries)
remember on Virtuozzo eth0 = venet0

bewshy:
APF hasn't been working 100% correctly for me.  I found a custom "firewall" and modified for cpanel ports, etc..  Works perfectly!

Navigation

[0] Message Index

Go to full version