OpenVZ Forum


Home » General » Support » [openvzwiki] Iptables Firewall script b0rked?
[openvzwiki] Iptables Firewall script b0rked? [message #36258] Tue, 02 June 2009 09:46 Go to next message
defiancenl is currently offline  defiancenl
Messages: 15
Registered: June 2009
Junior Member
Hi all, so im trying to set up a iptables firewall on a hwnode.
So i tried this script on the wiki pages
http://wiki.openvz.org/Setting_up_an_iptables_firewall

However, this script does not function properly?
Whenever i start the firewall all ports i set open etc are not open, and the script shuts out any connection from outside?

better put, the CT cannot resolve anymore ,whenever i turn the firewall on, nor can it ping outside ( beyond the hwnode)



Can anyone help me out with this one?

[Updated on: Tue, 02 June 2009 11:31]

Report message to a moderator

Re: [openvzwiki] Iptables Firewall script b0rked? [message #36273 is a reply to message #36258] Wed, 03 June 2009 09:18 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Please, carefully examine all iptables rules one by one on your system and find that causes the problem.
Re: [openvzwiki] Iptables Firewall script b0rked? [message #36277 is a reply to message #36273] Wed, 03 June 2009 11:46 Go to previous messageGo to next message
defiancenl is currently offline  defiancenl
Messages: 15
Registered: June 2009
Junior Member
Iptables is empty before starting the firewall script

After the firewall is on, VZ CT are not allowed to connect/ ping / dns outside .
Re: [openvzwiki] Iptables Firewall script b0rked? [message #36278 is a reply to message #36277] Wed, 03 June 2009 11:50 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


After the firewall is on, VZ CT are not allowed to connect/ ping / dns outside .


Of course, you have to look through iptables rules when firewall is on.
Previous Topic: segfaults in VEs?
Next Topic: Strange memory usage patterns...
Goto Forum:
  


Current Time: Tue Jul 16 23:38:50 GMT 2024

Total time taken to generate the page: 0.02928 seconds