1
0
Fork 0
mirror of https://github.com/iv-org/documentation.git synced 2025-05-05 16:25:03 -04:00
This commit is contained in:
TheFrenchGhosty 2024-07-22 19:14:56 +02:00
parent 18044a2956
commit 46a1f13680
No known key found for this signature in database
GPG key ID: 4E616F0FFE25B75B

View file

@ -123,7 +123,7 @@ curl -X PUT -H "Content-Type: application/json" -d '{"status":"running"}' "http:
sleep 5 sleep 5
curl -X GET "http://127.0.0.1:8888/v1/openvpn/status" 2>&1 | tee /path/to/restartvpn.log # Print the Gluetun status curl -X GET "http://127.0.0.1:8000/v1/openvpn/status" 2>&1 | tee /path/to/restartvpn.log # Print the Gluetun status
curl -X GET "http://127.0.0.1:8000/v1/publicip/ip" 2>&1 | tee /path/to/restartvpn.log # Print the new IP curl -X GET "http://127.0.0.1:8000/v1/publicip/ip" 2>&1 | tee /path/to/restartvpn.log # Print the new IP