Ping Google but not pinging Facebook from same system💫
→ Linux | RedHat8 | Route Table | Ping | Linux commands ←
Here is my new article with a very interesting task — GOOGLE PINGING BUT FACEBOOK NOT📌.
🔅Create a Setup so that you can ping google but not able to ping Facebook from same system.
Step-1: Check Google IP Address
👉 Google IP: 188.8.131.52
Step-2: Check Facebook IP Address
👉 Facebook IP: 184.108.40.206
Step-3: Ping Google
Step-4: Ping Facebook
Step-5: Display Route Table
Step-6: Delete universal Route Rule to allow all IP-addresses of any range
Step-7: Ping Google again
Step-8: Ping Facebook again
Step-9: Add Route rule in Routing table to allow Facebook IP Address range
👉 Now, if you again check and ping facebook and google then, you will see that it will pinging facebook ✔️now but not google ❌ because here , we have only allowed facebook ip address range.
Step-10: Add Route rule in Routing table to allow Google IP Address range
✅So, finally it’s pinging both google and facebook🎉🎉.
Step-11: Again Add Universal rule to allow all ip address range to route table
☑️It is clearly shown above that after adding this rule , you can ping to anyone as here ,it is also pinging twitter.com.
Hence, TASK COMPLETED SUCCESSFULLY✨ !
THANKYOU FOR READING (*-*)🌻