Creating a setup such that you can ping google but facebook from same system.
Mar 14, 2021
we will set up our machine such that we can ping to google through that machine but we won’t be able to ping to facebook.
Let’s check our connectivity that are we able to ping to google and facebook or not.
Now we will delete a range.
route -n
route del -net 0.0.0.0
Let’s check if we are able to ping to google or facebook.
We will add network range so that we can ping to google.
route add -net 172.217.163.0 netmask 255.255.255.0 gw 192.168.43.1 enp0s3
Now if we try pining to google it will ping but we can’t ping facebook.
THANK YOU!!