From ae71fc3cc2c154f628248bb735cd7e6d9d2fa66d Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 17 Jan 2007 16:10:40 +0000 Subject: [PATCH] Update PPTP doc to use 3.x format for zones file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5246 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/PPTP.xml | 33 +++++++++++++++++++++++---------- docs/support.xml | 16 +++++++++++++++- docs/troubleshoot.xml | 15 +++++++++++++-- 3 files changed, 51 insertions(+), 13 deletions(-) diff --git a/docs/PPTP.xml b/docs/PPTP.xml index 31d5f043b..e9a2791bc 100644 --- a/docs/PPTP.xml +++ b/docs/PPTP.xml @@ -30,6 +30,8 @@ 2006 + 2007 + Thomas M. Eastep @@ -44,6 +46,16 @@ + + 1.5 + + 2007-01-17 + + TE + + Updated zones files to 3.x format + + 1.4 @@ -512,12 +524,13 @@ pptpserver net 0.0.0.0/0 /etc/shorewall/zones: - #ZONE DISPLAY COMMENTS -net Internet The Internet -loc Local Local Network -vpn1 Remote1 Remote Network 1 -vpn2 Remote2 Remote Network 2 -vpn3 Remote3 Remote Network 3 + #ZONE TYPE +fw firewall +net ipv4 +loc ipv4 +vpn1 ipv4 +vpn2 ipv4 +vpn3 ipv4 /etc/shorewall/interfaces: @@ -636,8 +649,8 @@ loadmodule ip_nat_proto_gre /etc/shorewall/zones: - #ZONE DISPLAY COMMENTS -cpq Compaq Compaq Intranet + #ZONE TYPE +cpq ipv4 /etc/shorewall/interfaces: @@ -847,8 +860,8 @@ restart_pptp > /dev/null 2>&1 & Add this entry to /etc/shorewall/zones: - #ZONE DISPLAY COMMENTS -modem Modem ADSL Modem + #ZONE TYPE +modem ipv4 That entry defines a new zone called modem which will contain only your ADSL modem. diff --git a/docs/support.xml b/docs/support.xml index 6946f6956..506ff7cee 100644 --- a/docs/support.xml +++ b/docs/support.xml @@ -122,9 +122,23 @@ If your problem is that an error occurs when you try to shorewall start or if Shorewall is - otherwise failing to start properly, then please: + otherwise failing to start properly, then please do the + following.
+ If your VERBOSITY setting in shorewall.conf is less than 2, + then try running with a higher verbosity level by using the "-vv" + option: + +
+ shorewall -vv [re]start +
+ + That will give you additional progress messages that may make + it clear which entry in which file is generating the error. + + If that didn't solve your problem, then please + /sbin/shorewall trace start 2> /tmp/trace Forward the /tmp/trace file as an diff --git a/docs/troubleshoot.xml b/docs/troubleshoot.xml index 11f839d2d..91ccd5177 100644 --- a/docs/troubleshoot.xml +++ b/docs/troubleshoot.xml @@ -36,8 +36,19 @@ <quote>shorewall start</quote> and <quote>shorewall restart</quote> Errors - If you receive an error message when starting or restarting the - firewall and you can't determine the cause, then do the following: + You receive an error message when starting or restarting the + firewall and you can't determine the cause. First, if your VERBOSITY + setting in shorewall.conf is less than 2, then try running with a higher + verbosity level by using the "-v" option: + +
+ shorewall -vv [re]start +
+ + That will give you additional progress messages that may make it + clear which entry in which file is generating the error. + + If that didn't help, then do the following: