mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Bugfix: routes not being pushed
This commit is contained in:
parent
a202ca29df
commit
2533e2e113
@ -165,6 +165,7 @@ else
|
|||||||
cd /etc/openvpn/
|
cd /etc/openvpn/
|
||||||
# Set the server configuration
|
# Set the server configuration
|
||||||
sed -i 's|dh dh1024.pem|dh dh2048.pem|' server.conf
|
sed -i 's|dh dh1024.pem|dh dh2048.pem|' server.conf
|
||||||
|
sed -i 's|;push "redirect-gateway def1 bypass-dhcp"|push "redirect-gateway def1 bypass-dhcp"|' server.conf
|
||||||
sed -i 's|;push "dhcp-option DNS 208.67.222.222"|push "dhcp-option DNS 129.250.35.250"|' server.conf
|
sed -i 's|;push "dhcp-option DNS 208.67.222.222"|push "dhcp-option DNS 129.250.35.250"|' server.conf
|
||||||
sed -i 's|;push "dhcp-option DNS 208.67.220.220"|push "dhcp-option DNS 74.82.42.42"|' server.conf
|
sed -i 's|;push "dhcp-option DNS 208.67.220.220"|push "dhcp-option DNS 74.82.42.42"|' server.conf
|
||||||
sed -i "s|port 1194|port $PORT|" server.conf
|
sed -i "s|port 1194|port $PORT|" server.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user