Skip to content

Commit

Permalink
Add modecfgdns note
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdsl2 committed Feb 11, 2018
1 parent 43dbac6 commit 4c47137
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions extras/vpnupgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,16 @@ echo
echo "Libreswan $SWAN_VER was installed successfully! "
echo

cat <<'EOF'
Note: Users upgrading to Libreswan 3.23 or newer should edit
"/etc/ipsec.conf" and replace these two lines:
modecfgdns1=DNS_SERVER_1
modecfgdns2=DNS_SERVER_2
with a single line like this:
modecfgdns="DNS_SERVER_1, DNS_SERVER_2"
Then run "service ipsec restart".
EOF

}

## Defer setup until we have the complete script
Expand Down
10 changes: 10 additions & 0 deletions extras/vpnupgrade_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ echo
echo "Libreswan $SWAN_VER was installed successfully! "
echo

cat <<'EOF'
Note: Users upgrading to Libreswan 3.23 or newer should edit
"/etc/ipsec.conf" and replace these two lines:
modecfgdns1=DNS_SERVER_1
modecfgdns2=DNS_SERVER_2
with a single line like this:
modecfgdns="DNS_SERVER_1, DNS_SERVER_2"
Then run "service ipsec restart".
EOF

}

## Defer setup until we have the complete script
Expand Down

0 comments on commit 4c47137

Please sign in to comment.