IKEv2: Add roadwarrior configuration to file.

This commit is contained in:
Michael Tremer
2011-08-18 14:07:55 +02:00
parent 5861450ef8
commit 86525dfc52

View File

@@ -439,6 +439,7 @@ sub writeipsecfiles {
# Automatically start only if a net-to-net connection
if ($lconfighash{$key}[3] eq 'host') {
print CONF "\tauto=add\n";
print CONF "\trightsourceip=$lvpnsettings{'RW_NET'}\n";
} else {
print CONF "\tauto=start\n";
}