OpenVZ Forum


Home » General » Discussions » Iptables on Host Node
Re: Iptables on Host Node [message #36837 is a reply to message #36805] Wed, 22 July 2009 20:53 Go to previous message
irontowngeek is currently offline  irontowngeek
Messages: 20
Registered: January 2009
Junior Member
I'm going to re-post this,as I'm having trouble getting it submitted.

To answer your question,as its stated,add this rule to the IMPUT chain.

iptables -A INPUT -p TCP -i eth0 -s 0/0 --destination-port \
22 -j okay

There is a firewall script over in the OpenVZ WIKI,you might want to inspect.

http://wiki.openvz.org/Setting_up_an_iptables_firewall

For simplicity in console based firewalls,use SHOREWALL.

Cheers
 
Read Message
Read Message
Read Message
Previous Topic: OpenVZ on multiple server
Next Topic: Virtuozzo XML API with PHP script
Goto Forum:
  


Current Time: Mon Aug 19 13:13:13 GMT 2024

Total time taken to generate the page: 0.02995 seconds