Advertisement
smithy1208

ppp-server

Feb 27th, 2021
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. # feb/27/2021 08:20:20 by RouterOS 6.48.1
  2. # software id =
  3. #
  4. #
  5. #
  6. /interface bridge add name=bridge_local
  7. /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik
  8. /ip pool add name=dhcp_pool0 ranges=192.168.88.2-192.168.88.254
  9. /ip pool add name=pool1 ranges=10.10.10.10-10.10.10.30
  10. /ip dhcp-server add address-pool=dhcp_pool0 disabled=no interface=bridge_local name=dhcp1
  11. /ppp profile add bridge=bridge_local local-address=10.10.10.1 name=ppp_bridging on-down=":log info \"54321\"" on-up=":log info \"12345\"" remote-address=pool1 use-encryption=yes
  12. /interface bridge port add bridge=bridge_local interface=ether1
  13. /interface l2tp-server server set enabled=yes mrru=1600
  14. /interface pptp-server server set enabled=yes mrru=1600
  15. /ip address add address=192.168.88.1/24 interface=bridge_local network=192.168.88.0
  16. /ip address add address=1.1.1.1/30 interface=ether2 network=1.1.1.0
  17. /ip dhcp-client add interface=ether1
  18. /ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.1
  19. /ip route add distance=1 gateway=1.1.1.2
  20. /ppp secret add name=ppp1 password=ppp1 profile=ppp_bridging
  21. /system identity set name=R1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement