Advertisement
smithy1208

ppp-client

Feb 27th, 2021
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. [admin@R2] > export
  2. # feb/27/2021 08:21:04 by RouterOS 6.48.1
  3. # software id =
  4. #
  5. #
  6. #
  7. /interface bridge
  8. add name=bridge_local
  9. /interface wireless security-profiles
  10. set [ find default=yes ] supplicant-identity=MikroTik
  11. /ppp profile
  12. add bridge=bridge_local name=ppp_bridging use-encryption=yes
  13. /interface l2tp-client
  14. add connect-to=1.1.1.1 disabled=no mrru=1600 name=l2tp-out1 password=ppp1 profile=ppp_bridging user=ppp1
  15. /interface pptp-client
  16. add connect-to=1.1.1.1 mrru=1600 name=pptp-out1 password=ppp1 profile=ppp_bridging user=ppp1
  17. /interface bridge port
  18. add bridge=bridge_local interface=ether1
  19. /ip address
  20. add address=192.168.88.254/24 interface=bridge_local network=192.168.88.0
  21. add address=2.2.2.2/30 interface=ether2 network=2.2.2.0
  22. /ip dhcp-client
  23. add disabled=no interface=bridge_local
  24. /ip route
  25. add distance=1 gateway=2.2.2.1
  26. add distance=1 gateway=2.2.2.1
  27. /system identity
  28. set name=R2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement