Connection check to VPN or network #
Description #
Simple way that can be done in most Linux OS (ICMP)
Uses nping (from nmap) for TCP Ping
To know if you have:
- been blocked by WAF, IPS, NAC
- been disconnected from your VPN (i.e. ovpn)
- oversaturated your connection (Lessen your threads)
- TCP Ping for second verification or if host does not respond to ICMP
Make sure to change:
- $hostORdomain
- $destPort
Bash #
1 2 3 4 |
|
ZSH #
1 2 3 4 |
|
To Execute #
1 2 3 4 5 |
|
Tip #
- I use Terminator and its plugin "InactivityWatch" to watch if it stops pinging
Last update: January 22, 2021