Can I read VPN Connectivity Ping Test Script on EtoBox?
VPN Connectivity Ping Test Script by fabioadao is a document available to read on EtoBox.
What is VPN Connectivity Ping Test Script about?
This script pings a VPN gateway four times to test connectivity and check for packet loss. It sums the results of the four ping tests and if the total is greater than or equal to four, it flushes any existing mangle table rules and routing entries, starts the OpenVPN service, and adds a route for the VPN subnet. This ensures the VPN connection is started and the correct routing is in place if ping connectivity to the gateway is reliable.
- Author
- fabioadao
- Language
- EN