mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
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)
This commit is contained in:
committed by
Michael Tremer
parent
3e79f33fc2
commit
6fab5bca2a
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user