mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-12-29 22:27:03 +01:00
test: update shared client config after server renewal
This commit is contained in:
@@ -538,6 +538,11 @@ done
|
||||
# Allow routing to stabilize after renewal restart
|
||||
sleep 3
|
||||
|
||||
# Update shared client config after server renewal (fingerprint changed)
|
||||
cp /root/testclient.ovpn /shared/client.ovpn
|
||||
sed -i 's/^remote .*/remote openvpn-server 1194/' /shared/client.ovpn
|
||||
echo "Updated client config with new server fingerprint"
|
||||
|
||||
# =====================================================
|
||||
# Verify Unbound DNS resolver (started by systemd via install script)
|
||||
# =====================================================
|
||||
|
||||
Reference in New Issue
Block a user