Access Google but not Facebook —Pure networking no firewall
Mar 14, 2021
Step 1: Check routing table
route -n
Step 2: Check connectivity with Google and Facebook
ping google.com
ping facebook.com
Step 3: Delete first entry from routing table
route del -net 0.0.0.0
Step 4: Add rule for connectivity with Google
route add -net 172.217.174.0/24 gw 192.168.43.1 enp0s3
Step 5: Try to connect to google and facebook.
Here we see that we can connect to Google but not to Facebook.
Feel free to contact on my LinkedIn.