mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
IKEv2: Add roadwarrior configuration to file.
This commit is contained in:
@@ -439,6 +439,7 @@ sub writeipsecfiles {
|
|||||||
# Automatically start only if a net-to-net connection
|
# Automatically start only if a net-to-net connection
|
||||||
if ($lconfighash{$key}[3] eq 'host') {
|
if ($lconfighash{$key}[3] eq 'host') {
|
||||||
print CONF "\tauto=add\n";
|
print CONF "\tauto=add\n";
|
||||||
|
print CONF "\trightsourceip=$lvpnsettings{'RW_NET'}\n";
|
||||||
} else {
|
} else {
|
||||||
print CONF "\tauto=start\n";
|
print CONF "\tauto=start\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user