Update OVPN configs (plus a small bonus bugfix) (#1265)
* Fix error message when $PUID is set and $PGID isn't set. * Update hostnames for OVPN Co-authored-by: Marc Runkel <marc.runkel@plusforta.de>
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| client | ||||
| dev tun | ||||
| proto udp | ||||
| remote pool.prd.de.ovpn.se 1194 | ||||
| remote pool.prd.de.ovpn.se 1195 | ||||
| remote pool-1.prd.de.ovpn.com 1194 | ||||
| remote pool-1.prd.de.ovpn.com 1195 | ||||
| remote-random | ||||
| remote-cert-tls server | ||||
| cipher AES-256-CBC | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| client | ||||
| dev tun | ||||
| proto udp | ||||
| remote pool.prd.se.ovpn.se 1194 | ||||
| remote pool.prd.se.ovpn.se 1195 | ||||
| remote pool-1.prd.se.ovpn.se 1194 | ||||
| remote pool-1.prd.se.ovpn.se 1195 | ||||
| remote-random | ||||
| remote-cert-tls server | ||||
| cipher AES-256-CBC | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| client | ||||
| dev tun | ||||
| proto udp | ||||
| remote pool.prd.us.ovpn.com 1194 # resolves to multiple VPN servers in location | ||||
| remote pool.prd.us.ovpn.com 1195 # resolves to multiple VPN servers in location | ||||
| remote pool-1.prd.us.ovpn.com 1194 # resolves to multiple VPN servers in location | ||||
| remote pool-1.prd.us.ovpn.com 1195 # resolves to multiple VPN servers in location | ||||
| remote-random | ||||
| remote-cert-tls server | ||||
| cipher AES-256-CBC | ||||
|   | ||||
| @@ -9,7 +9,7 @@ if [ -n "$PUID" ] && [ ! "$(id -u root)" -eq "$PUID" ]; then | ||||
|     if [ ! "$(id -u ${RUN_AS})" -eq "$PUID" ]; then | ||||
|         usermod -o -u "$PUID" ${RUN_AS}; | ||||
|     fi | ||||
|     if [ ! "$(id -g ${RUN_AS})" -eq "$PGID" ]; then | ||||
|     if [ -n "$PGID" ] && [ ! "$(id -g ${RUN_AS})" -eq "$PGID" ]; then | ||||
|         groupmod -o -g "$PGID" ${RUN_AS}; | ||||
|     fi | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user