Skip to content
This repository has been archived by the owner on Sep 16, 2018. It is now read-only.

I changed some $PRIVATEIP to $PUBLIC_IP #50

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ conn vpnpsk
connaddrfamily=ipv4
auto=add
left=$IPADDRESS
leftid=$IPADDRESS
leftid=$PUBLIC_IP
leftsubnet=$IPADDRESS/32
leftnexthop=%defaultroute
leftprotoport=17/1701
Expand Down Expand Up @@ -230,7 +230,7 @@ then
fi

cat > /etc/ipsec.secrets <<EOF
$IPADDRESS %any : PSK "$IPSEC_PSK"
$PUBLIC_IP %any : PSK "$IPSEC_PSK"
EOF

echo "/etc/xl2tpd/xl2tpd.conf"
Expand Down