Accurate Routing Rules for better Connectivity and Security
Hello Everyone,
I am here with the documentation to write accurate routing rules based on our requirements.
In this article, I am going to show how you can write accurate routing rules fro better connectivity and security with a task
Task Description:
🔰 There are 3 Instances named System A, System B, and System C
🔰 Create a network Topology Setup in such a way so that System A can ping to two Systems, System B and System C but both these systems should not be pinging each other without using any security rule [firewall | Security Group Rule]
The default Routing Rules are
route -n
System A:
System B:
System C:
route add -net [Public IP of your local Machine] gw [gateway of Remote Machine] netmask 255.255.255.255 [NetworkInterfaceName]
Recommended by LinkedIn
route del -net 0.0.0.0
Add routes to connect with System B and System C in System A
route add -net <Public IP of B> gw <Gateway of A> netmask 255.255.255.255 <Network Card Name>
route add -net <Public IP of C> gw <Gateway of A> netmask 255.255.255.255 <Network Card Name>
Let's Check the Result
System A can Ping to B and C :
System B can't connect to System C
System C can't connect to System B
Thankyou
Devops Engineer@Qurinom Solutions || Linux || Docker || Git || Github || Gitlab ||Jenkis(CI/CD) || K8s || Ansible || Terraform || Sonarqube || Nginx || Azure 1X certified - AZ900 || AWS || GCP 1X Certified || MLops
3yGreat
ATSE@RedHat || Openshift || 3x RedHat Certified || DevOps(Docker🐋, Kubernetes☸, Jenkins👨🍳) || Ansible || Cloud Computing ☁(AWS) |||
3yGood Job Siva Naik Kethavath