Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # feb/27/2021 09:17:07 by RouterOS 6.45.8
- # software id =
- #
- #
- #
- /interface bridge add admin-mac=50:00:00:03:00:02 auto-mac=no name=br2
- /interface bridge add admin-mac=50:00:00:03:00:01 auto-mac=no name=bridge1
- /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik
- /ip pool add name=pool1 ranges=172.31.0.2-172.31.0.30
- /ip pool add name=dhcp_pool1 ranges=192.168.255.225-192.168.255.253
- /ip pool add name=dhcp_pool2 ranges=172.30.30.2-172.30.30.30
- /ip dhcp-server add address-pool=dhcp_pool1 disabled=no interface=bridge1 name=dhcp1
- /ip dhcp-server add address-pool=dhcp_pool2 disabled=no interface=br2 name=dhcp2
- /ppp profile add change-tcp-mss=yes local-address=172.31.0.1 name=profile1 only-one=yes remote-address=pool1
- /ppp profile add change-tcp-mss=yes local-address=172.31.0.1 name=profile2 only-one=yes remote-address=pool1
- /ppp profile add change-tcp-mss=yes local-address=172.31.0.1 name=profile3 on-down=":log info \"54321\"" on-up=":log info \"12345\"" only-one=yes remote-address=pool1
- /ppp profile add change-tcp-mss=yes local-address=172.31.0.1 name=profile4 only-one=yes remote-address=pool1
- /ppp profile add bridge=br2 change-tcp-mss=yes name=profile5 on-down=":log info \"54321\"" on-up=":log info \"12345\""
- /interface bridge port add bridge=bridge1 interface=ether2
- /interface bridge port add bridge=br2 interface=ether3
- /interface l2tp-server server set enabled=yes
- /interface ovpn-server server set auth=sha1 certificate=srv cipher=aes128 enabled=yes netmask=32
- /interface pptp-server server set enabled=yes
- /interface sstp-server server set certificate=srv enabled=yes force-aes=yes
- /ip address add address=192.168.255.254/27 interface=bridge1 network=192.168.255.224
- /ip address add address=172.30.30.1/27 interface=br2 network=172.30.30.0
- /ip dhcp-client add disabled=no interface=ether1
- /ip dhcp-server network add address=172.30.30.0/27 gateway=172.30.30.1
- /ip dhcp-server network add address=192.168.255.224/27 gateway=192.168.255.254
- /ppp secret add name=ppp1
- /ppp secret add name=ppp2 profile=profile2
- /ppp secret add name=ppp3 profile=profile5
- /ppp secret add name=ppp4 profile=profile4
- /system clock set time-zone-name=Europe/Tallinn
- /system identity set name=m3
- /tool romon set enabled=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement