[7.866][NOTABUG][CLOSED] policy route works even it is disable

Hello Friends !

i create policy route (wordless thanks to billybob)
and  test it it work fine for me and later i tryed to disable it ,still it work (i am able to acess ssh using policy route)later i delete that route then i was not able to acess ssh ,to test further i create new policy route and did not enable it still i was able to acess it for all this process i need not need to restart the system but i restart the linux server and asg many times 


thanks
Parents
  • Policy routes has nothing to do with allowing/denying packets.

    You need policy routes, if you have an REDUNDANT connection,
    e.g. host1 is accessible via eth0 AND eth1.
    So normally all packets will be routerd over eth0 to host1.

    Then you can insert a policy route for SSH traffic to host1 over eth1,
    so SSH is routed over eth1 and all other packets are routed over eth0.
Reply
  • Policy routes has nothing to do with allowing/denying packets.

    You need policy routes, if you have an REDUNDANT connection,
    e.g. host1 is accessible via eth0 AND eth1.
    So normally all packets will be routerd over eth0 to host1.

    Then you can insert a policy route for SSH traffic to host1 over eth1,
    so SSH is routed over eth1 and all other packets are routed over eth0.
Children
  • Thank You !

    can u please tell me whether my image is correct or not 
    or if possible can u please give me some image where i can understand best way with some wording 
    eth0 is lan (192.168.2.123),eth1 is wan(121.x.x.x) and my desktop (192.168.1.123) they are all connected to normal switch ,can i acess this desktop over internet 

    thx