mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-02-05 13:11:33 +01:00
Update openvpn-install.sh
This commit is contained in:
parent
ad3c223385
commit
c0ed60e8cf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user