From 6fab5bca2a3fc22aa08e7b6691e9f81a259d35ca Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Tue, 30 Apr 2013 09:58:01 +0200 Subject: [PATCH 1/1] Forward Firewall: edited rules.pl so that in the rules the ip addresses from the remote ovpn N2N subnet are used instead of the openvpn subnet(because its only used as transfer net) --- config/forwardfw/rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/forwardfw/rules.pl b/config/forwardfw/rules.pl index 1cbbee7a5..529943f81 100755 --- a/config/forwardfw/rules.pl +++ b/config/forwardfw/rules.pl @@ -494,7 +494,7 @@ sub get_address }elsif($base eq 'ovpn_host_src' ||$base eq 'ovpn_host_tgt' || $base eq 'OpenVPN static host'){ $$hash{$key}[0]=&fwlib::get_ovpn_host_ip($base2,33); }elsif($base eq 'ovpn_n2n_src' ||$base eq 'ovpn_n2n_tgt' || $base eq 'OpenVPN N-2-N'){ - $$hash{$key}[0]=&fwlib::get_ovpn_n2n_ip($base2,27); + $$hash{$key}[0]=&fwlib::get_ovpn_n2n_ip($base2,11); }elsif($base eq 'ipsec_net_src' || $base eq 'ipsec_net_tgt' || $base eq 'IpSec Network'){ $$hash{$key}[0]=&fwlib::get_ipsec_net_ip($base2,11); } -- 2.39.2