I m able to ping multiple sites and hosts, but for some reason (from my VPS terminal), I m not able to ping my home IP address. I ve discovered this in the feat to try and get external connections allowed for my MySQL Database.
Upon checking netstat -tlnp | grep 3306
- it returns: tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 3900555/mariadbd
When I ping my home IP from the VPS, the putty terminal responds with:
PING my.home.ip.add (my.home.ip.add) 56(84) bytes of data.
--- my.home.ip.add ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1025ms
However when I ping google.com from the VPS, the putty terminal responds with:
PING google.com (142.250.188.238) 56(84) bytes of data.
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=1 ttl=61 time=0.704 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=2 ttl=61 time=0.673 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=3 ttl=61 time=0.702 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=4 ttl=61 time=0.708 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=5 ttl=61 time=0.690 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=6 ttl=61 time=0.735 ms
--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5008ms
I ve checked my iptables as well as UFW, neither are enabled/being used.
Chain INPUT (policy ACCEPT)
target prot opt source destination
ufw-before-logging-input all -- anywhere anywhere
ufw-before-input all -- anywhere anywhere
ufw-after-input all -- anywhere anywhere
ufw-after-logging-input all -- anywhere anywhere
ufw-reject-input all -- anywhere anywhere
ufw-track-input all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:3306
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ufw-before-logging-forward all -- anywhere anywhere
ufw-before-forward all -- anywhere anywhere
ufw-after-forward all -- anywhere anywhere
ufw-after-logging-forward all -- anywhere anywhere
ufw-reject-forward all -- anywhere anywhere
ufw-track-forward all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ufw-before-logging-output all -- anywhere anywhere
ufw-before-output all -- anywhere anywhere
ufw-after-output all -- anywhere anywhere
ufw-after-logging-output all -- anywhere anywhere
ufw-reject-output all -- anywhere anywhere
ufw-track-output all -- anywhere anywhere
UFW is not installed, as per a comment I tried: sudo ufw status
I ve also ensured by using portchecker.co
that my home IP address is open and accessible through port 80 - and I ve pinged my home IP address through windows CMD.