Forward Firewall: edited rules.pl so that in the rules the ip addresses from the...
authorAlexander Marx <amarx@ipfire.org>
Tue, 30 Apr 2013 07:58:01 +0000 (09:58 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:13:11 +0000 (14:13 +0200)
config/forwardfw/rules.pl

index 1cbbee7a58b77e4358cfaf74253c0ceda8cb09b9..529943f8170d4ad3e62950eec6c1f065f6759453 100755 (executable)
@@ -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);
        }