Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # feb/27/2021 08:20:20 by RouterOS 6.48.1
- # software id =
- #
- #
- #
- /interface bridge add name=bridge_local
- /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik
- /ip pool add name=dhcp_pool0 ranges=192.168.88.2-192.168.88.254
- /ip pool add name=pool1 ranges=10.10.10.10-10.10.10.30
- /ip dhcp-server add address-pool=dhcp_pool0 disabled=no interface=bridge_local name=dhcp1
- /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
- /interface bridge port add bridge=bridge_local interface=ether1
- /interface l2tp-server server set enabled=yes mrru=1600
- /interface pptp-server server set enabled=yes mrru=1600
- /ip address add address=192.168.88.1/24 interface=bridge_local network=192.168.88.0
- /ip address add address=1.1.1.1/30 interface=ether2 network=1.1.1.0
- /ip dhcp-client add interface=ether1
- /ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.1
- /ip route add distance=1 gateway=1.1.1.2
- /ppp secret add name=ppp1 password=ppp1 profile=ppp_bridging
- /system identity set name=R1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement