Advertisement
Guest User

MikroTik unblock sample throught VPN

a guest
Apr 18th, 2018
1,641
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. /ip firewall address-list
  2. add address=195.82.146.214 comment=rutracker.org list=unblock
  3. add address=195.82.146.120 comment=bt.rutracker.cc list=unblock
  4. add address=195.82.146.121 comment=bt2.rutracker.cc list=unblock
  5. add address=195.82.146.122 comment=bt3.rutracker.cc list=unblock
  6. add address=195.82.146.123 comment=bt4.rutracker.cc list=unblock
  7. add address=195.82.146.216 comment=static.t-ru.org list=unblock
  8.  
  9. /ip firewall mangle
  10. add action=mark-routing chain=prerouting dst-address-list=unblock new-routing-mark=Through_VPN passthrough=yes
  11.  
  12. /ip firewall nat
  13. add action=masquerade chain=srcnat comment="UNBLOCK OpenVPN" out-interface=openvpn
  14.  
  15. /ip route
  16. add distance=1 gateway=openvpn routing-mark=Through_VPN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement