Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. --/interface bridge
  2. add name=Lan
  3. --/interface wireless security-profiles
  4. set [ find default=yes ] supplicant-identity=MikroTik
  5. --/interface l2tp-client
  6. add add-default-route=yes connect-to=x.x.x.x disabled=no name=Cable password=xxxx profile=default user=xxxx
  7. --/interface bridge port
  8. add bridge=Lan interface=ether2
  9. --/ip address
  10. add address=x.x.114.121/29 interface=Lan network=x.x.114.120
  11. --/ip dhcp-client
  12. add add-default-route=special-classless dhcp-options=hostname,clientid disabled=no interface=ether1
  13. --/ip firewall filter
  14. add chain=input log=yes protocol=icmp
  15. add chain=output log=yes protocol=icmp
  16. --/ip firewall mangle
  17. add action=mark-routing chain=prerouting new-routing-mark=Routed_Subnet src-address=x.x.114.120--/29
  18. --/ip route
  19. add distance=1 gateway=Cable routing-mark=Routed_Subnet
  20. --/ip service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement