From 32e0f154b541242ebed8cd322e52002dadaa6fa9 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 29 May 2012 06:46:40 -0700 Subject: [PATCH] Correct pptpserver tunnel configuration. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tunnels.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Tunnels.pm b/Shorewall/Perl/Shorewall/Tunnels.pm index 218bbca61..7fe7e3b72 100644 --- a/Shorewall/Perl/Shorewall/Tunnels.pm +++ b/Shorewall/Perl/Shorewall/Tunnels.pm @@ -2,7 +2,6 @@ # Shorewall 4.4 -- /usr/share/shorewall/Shorewall/Tunnels.pm # # This program is under GPL [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt] -# # (c) 2007,2008,2009,2010,2011 - Tom Eastep (teastep@shorewall.net) # # Complete documentation is available at http://shorewall.net @@ -126,9 +125,9 @@ sub setup_tunnels() { sub setup_pptp_server { my ($inchainref, $outchainref, $kind, $source, $dest ) = @_; - add_tunnel_rule $inchainref, p => 47, @$dest; - add_tunnel_rule $outchainref, p => 47, @$source; - add_tunnel_rule $inchainref, p => 'tcp --dport 1723', @$dest + add_tunnel_rule $inchainref, p => 47, @$source; + add_tunnel_rule $outchainref, p => 47, @$dest; + add_tunnel_rule $inchainref, p => 'tcp --dport 1723', @$source } sub setup_one_openvpn {