OpenVZ Forum


Home » General » Support » Setting up a HN-based firewall
Setting up a HN-based firewall [message #30140] Tue, 13 May 2008 07:37 Go to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
I am following the wiki page

http://wiki.openvz.org/Setting_up_an_iptables_firewall

When i get to the script to set up the HN-based firewall i am always getting this error when i start the firewall service

Firewall: Purging and allowing all traffic [ OK ]
Firewall: Setting default policies to DROP [ OK ]
Firewall: Allowing access to HN
port 53iptables v1.3.5: Unknown arg `--destination-ports'
Try `iptables -h' or 'iptables --help' for more information.
/etc/init.d/firewall: line 46: 53: command not found
iptables v1.3.5: Unknown arg `--destination-ports'
Try `iptables -h' or 'iptables --help' for more information.
/etc/init.d/firewall: line 48: 53: command not found

I have installed a fresh VZ host node on a fresh centos 5.1 base server installation. All my installation was done via yum using the wiki as a guide.

Anyone else found this problem?
Re: Setting up a HN-based firewall [message #30265 is a reply to message #30140] Mon, 19 May 2008 12:16 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
Anyone got any help to give for this one?
Re: Setting up a HN-based firewall [message #30267 is a reply to message #30265] Mon, 19 May 2008 12:38 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

Quote:


Unknown arg `--destination-ports'



There is only "--destination-port" here
http://wiki.openvz.org/Setting_up_an_iptables_firewall

Re: Setting up a HN-based firewall [message #30268 is a reply to message #30267] Mon, 19 May 2008 12:50 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
doh! thanks

now i feel foolish.. Embarassed
Re: Setting up a HN-based firewall [message #30269 is a reply to message #30268] Mon, 19 May 2008 12:55 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Oh, that's ok.
Previous Topic: Settings for no limits
Next Topic: domain names / virtual machines
Goto Forum:
  


Current Time: Mon Oct 14 11:42:32 GMT 2024

Total time taken to generate the page: 0.05706 seconds