Advertisement
Amakesh

Untitled

Feb 4th, 2020
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. Flags: X - disabled, I - invalid, D - dynamic
  2. 0 chain=prerouting action=accept in-interface=ppp-out1 log=no log-prefix=""
  3.  
  4. 1 chain=prerouting action=accept in-interface=ppp-out2 log=no log-prefix=""
  5.  
  6. 2 chain=prerouting action=mark-connection
  7. new-connection-mark=Conn-PPP-OUT1->Bridge1 passthrough=yes
  8. dst-address=!192.168.88.10-192.168.88.254 connection-mark=no-mark
  9. in-interface=bridge1 per-connection-classifier=both-addresses:2/0 log=yes
  10. log-prefix="Conn-PPP-OUT1->B1"
  11.  
  12. 3 X chain=prerouting action=mark-connection
  13. new-connection-mark=Conn-PPP-OUT2->Bridge1 passthrough=yes
  14. dst-address=!192.168.88.10-192.168.88.254 connection-mark=no-mark
  15. in-interface=bridge1 per-connection-classifier=both-addresses:2/1 log=yes
  16. log-prefix="Conn-PPP-OUT2->B1"
  17.  
  18. 4 chain=prerouting action=mark-connection
  19. new-connection-mark=Conn-PPP-OUT2->Bridge2 passthrough=yes
  20. dst-address=!192.168.77.10-192.168.77.254 connection-mark=no-mark
  21. in-interface=bridge2 per-connection-classifier=both-addresses:2/0 log=yes
  22. log-prefix="Conn-PPP-OUT2->B2"
  23.  
  24. 5 X chain=prerouting action=mark-connection
  25. new-connection-mark=Conn-PPP-OUT1->Bridge2 passthrough=yes
  26. dst-address=!192.168.77.10-192.168.77.254 connection-mark=no-mark
  27. in-interface=bridge2 per-connection-classifier=both-addresses:2/1 log=yes
  28. log-prefix="Conn-PPP-OUT1->B2"
  29.  
  30. 6 chain=prerouting action=mark-routing new-routing-mark=B1 via PPP-OUT1
  31. passthrough=yes connection-mark=Conn-PPP-OUT1->Bridge1 log=yes
  32. log-prefix="B1 via PPP-OUT1"
  33.  
  34. 7 X chain=prerouting action=mark-routing new-routing-mark=B1 via PPP-OUT2
  35. passthrough=yes connection-mark=Conn-PPP-OUT2->Bridge1 log=yes
  36. log-prefix="B1 via PPP-OUT2"
  37.  
  38. 8 X chain=prerouting action=mark-routing new-routing-mark=B2 via PPP-OUT1
  39. passthrough=yes connection-mark=Conn-PPP-OUT1->Bridge2 log=yes
  40. log-prefix="B2 via PPP-OUT1"
  41.  
  42. 9 chain=prerouting action=mark-routing new-routing-mark=B2 via PPP-OUT2
  43. passthrough=yes connection-mark=Conn-PPP-OUT2->Bridge2 log=yes
  44. log-prefix="B2 via PPP-OUT2"
  45.  
  46. 10 X chain=prerouting action=mark-connection new-connection-mark=\
  47. passthrough=yes connection-mark=no-mark in-interface=ppp-out1 log=no
  48. log-prefix=""
  49.  
  50. 11 X chain=prerouting action=mark-connection new-connection-mark=\
  51. passthrough=yes connection-mark=no-mark in-interface=ppp-out2 log=no
  52. log-prefix=""
  53.  
  54. 12 X chain=prerouting action=mark-connection new-connection-mark=VPN1
  55. passthrough=yes src-address=192.168.88.10-192.168.88.254 log=yes
  56. log-prefix="VPN1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement