From 2ca7e4b1ebaed25101126863dfa9c0a4151b99da Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 11 Jul 2009 08:16:25 -0700 Subject: [PATCH] More updates to OpenVZ doc --- docs/OpenVZ.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/OpenVZ.xml b/docs/OpenVZ.xml index 53c5d9496..f3bdf5779 100644 --- a/docs/OpenVZ.xml +++ b/docs/OpenVZ.xml @@ -143,20 +143,15 @@ server:~ # ############################################################################### #ZONE TYPE OPTIONS IN OUT # OPTIONS OPTIONS +net ipv4 vz ipv4 /etc/shorewall/interfaces: ############################################################################### #ZONE INTERFACE BROADCAST OPTIONS +net eth0 - proxyarp=1 vz venet0 - routeback,rp_filter=0 - - /etc/shorewall/proxyarp (assumes that - external interface is eth0): - - ############################################################################### -#ADDRESS INTERFACE EXTERNAL HAVEROUTE PERSISTENT -206.124.146.178 venet0 eth0 Yes
@@ -465,17 +460,21 @@ NAME="server" #ZONE TYPE OPTIONS IN OUT # OPTIONS OPTIONS fw firewall +net ipv4 #Internet loc ipv4 #Local wired Zone dmz ipv4 #DMZ ... /etc/shorewall/params: - INT_IF=eth1 + NET_IF=eth3 +INT_IF=eth1 VPS_IF=venet0 ... /etc/shorewall/interfaces:#ZONE INTERFACE BROADCAST OPTIONS +net $NET_IF detect dhcp,blacklist,tcpflags,optional,routefilter=0,nosmurfs,logmartions=0,proxyarp=1 loc $INT_IF detect dhcp,logmartians=1,routefilter=1,nets=(172.20.1.0/24),tcpflags dmz $VPS_IF detect logmartians=1,routefilter=0,nets=(206.124.146.177,206.124.146.178),routeback ...This is a multi-ISP configuration so entries are required