OpenVZ Forum


Home » General » Support » Shorewall Setup
Shorewall Setup [message #7925] Mon, 30 October 2006 17:11 Go to next message
zoom is currently offline  zoom
Messages: 19
Registered: March 2006
Location: Regina, Saskatchewan Cana...
Junior Member
Hello,
Wondering if anyone can post what is needed in Shorewall to allow people from the outside to connect to virtual machines using OpenVZ?

Currently, I can connect to the host fine, however I can't reach any of my virtual machines. I assume this has something to do with configuring the venet0 interface in shorewall to allow packet forwarding. If someone could post their configuration of shorewall under OpenVZ(HOST)I would appreciate it. Below is what I have in my interfaces, policy, rules files for shorewall. Thanks.

/etc/shorewall/interfaces
#ZONE   INTERFACE       BROADCAST       OPTIONS
net     eth0      204.83.151.73


/etc/shorewall/policy
#SOURCE         DEST            POLICY          LOG             LIMIT:BURST
#                                               LEVEL
fw      net     ACCEPT
net     all     DROP
all     all     REJECT


/etc/shorewall/rules
#SECTION RELATED
SECTION NEW
ACCEPT  net                     fw      tcp     22      -
ACCEPT  net                     fw      icmp    -       -
Re: Shorewall Setup [message #8125 is a reply to message #7925] Wed, 08 November 2006 17:39 Go to previous messageGo to next message
rema is currently offline  rema
Messages: 17
Registered: November 2006
Junior Member
I howto will be great.
I have also problems here getting shorewall run on the Hardware-Node and in a VM.

Best Rene
Re: Shorewall Setup [message #8226 is a reply to message #7925] Fri, 10 November 2006 16:51 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

search forum. people were reporting it to work.
http://forum.openvz.org/index.php?t=tree&th=866&mid= 4669&&rev=&reveal=
http://forum.openvz.org/index.php?t=tree&goto=4684&& amp;srch=shorewall#msg_4684


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: *SOLVED* Top on VE0
Next Topic: *SOLVED* kernel 2.6.18 028test003.1 does not compile
Goto Forum:
  


Current Time: Sat Nov 09 01:14:16 GMT 2024

Total time taken to generate the page: 0.03195 seconds