From: Alexander Marx Date: Tue, 30 Apr 2013 07:58:01 +0000 (+0200) Subject: Forward Firewall: edited rules.pl so that in the rules the ip addresses from the... X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=6fab5bca2a3fc22aa08e7b6691e9f81a259d35ca;hp=3e79f33fc28e1f33a1b7599205ab86ae455d44c8 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) --- 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); }