Author Topic: Need help with iptables firewall  (Read 2565 times)

Offline ToTheMax

  • Newbie
  • *
  • Posts: 1
    • View Profile
Need help with iptables firewall
« on: September 18, 2005, 03:12:52 PM »
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

Offline siren

  • Newbie
  • *
  • Posts: 1
    • View Profile
Need help with iptables firewall
« Reply #1 on: September 29, 2005, 08:09:15 PM »
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

Offline Deal svengali

  • Newbie
  • *
  • Posts: 2
    • View Profile
Need help with iptables firewall
« Reply #2 on: October 05, 2005, 05:53:30 PM »
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


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?
Deal Svengali

WirelessCellDeals

Offline bewshy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Need help with iptables firewall
« Reply #3 on: October 07, 2005, 03:37:55 AM »
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

Offline bewshy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Need help with iptables firewall
« Reply #4 on: October 09, 2005, 01:38:14 PM »
APF hasn't been working 100% correctly for me.  I found a custom "firewall" and modified for cpanel ports, etc..  Works perfectly!