Update openvpn-install.sh

This commit is contained in:
Angristan 2017-08-22 11:12:42 +02:00 committed by GitHub
parent ad3c223385
commit c0ed60e8cf
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ WantedBy=multi-user.target" > /etc/systemd/system/rc-local.service
# Generate server.conf
echo "local $IP" > /etc/openvpn/server.conf
echo "port $PORT" > /etc/openvpn/server.conf
echo "port $PORT" >> /etc/openvpn/server.conf
if [[ "$PROTOCOL" = 'UDP' ]]; then
echo "proto udp" >> /etc/openvpn/server.conf
elif [[ "$PROTOCOL" = 'TCP' ]]; then