Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /interface bridge
- add admin-mac=D4:CA:6D:07:29:53 auto-mac=no l2mtu=1598 name=bridge-local
- /interface wireless
- set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-ht-above disabled=no distance=indoors frequency=auto hw-retries=15 l2mtu=2290 mode=ap-bridge ssid=iichan@mikrotik wireless-protocol=802.11
- /interface ethernet
- set [ find default-name=ether1 ] mac-address=00:04:76:1F:C5:BF name=ether1-gateway
- set [ find default-name=ether2 ] name=ether2-master-local
- set [ find default-name=ether3 ] name=ether3-slave-local
- set [ find default-name=ether4 ] comment=Imouto master-port=ether2-master-local name=ether4-slave-local
- set [ find default-name=ether5 ] comment=RAN master-port=ether2-master-local name=ether5-slave-local
- /ip neighbor discovery
- set ether1-gateway discover=no
- set ether4-slave-local comment=Imouto
- set ether5-slave-local comment=RAN
- /interface wireless security-profiles
- set [ find default=yes ] authentication-types=wpa2-psk eap-methods="" mode=dynamic-keys wpa-pre-shared-key=wpapresharedkey123456 wpa2-pre-shared-key=wpapresharedkey123456
- /ip hotspot user profile
- set [ find default=yes ] idle-timeout=none keepalive-timeout=2m mac-cookie-timeout=3d
- /ip pool
- add name=dhcp ranges=192.168.88.30-192.168.88.254
- /ip dhcp-server
- add address-pool=dhcp disabled=no interface=bridge-local lease-time=10m name=default
- /interface pppoe-client
- add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 default-route-distance=1 dial-on-demand=no disabled=no interface=ether1-gateway keepalive-timeout=60 max-mru=1480 max-mtu=1480 mrru=1600 name=pppoe-out1 password=passfhgrh profile=default service-name="" use-peer-dns=yes user=usrbvfbhvbb
- /interface bridge port
- add bridge=bridge-local interface=ether2-master-local
- add bridge=bridge-local interface=wlan1
- /interface l2tp-server server
- set default-profile=default enabled=yes
- /interface wireless access-list
- add interface=wlan1 mac-address=6C:8B:2F:E2:FA:43
- /interface wireless connect-list
- add interface=wlan1 mac-address=6C:8B:2F:E2:FA:43 security-profile=default
- /ip address
- add address=192.168.88.1/24 comment="default configuration" interface=ether2-master-local network=192.168.88.0
- /ip dhcp-server network
- add address=192.168.88.0/24 comment="default configuration" dns-server=192.168.88.1 gateway=192.168.88.1
- /ip dns
- set allow-remote-requests=yes
- /ip dns static
- add address=192.168.88.1 name=router
- /ip firewall filter
- add chain=input comment="default configuration" protocol=icmp
- add chain=input comment="default configuration" connection-state=established
- add chain=input comment="default configuration" connection-state=related
- add chain=forward comment="p2p RAN" dst-address=192.168.88.25 dst-port=31330-31340 in-interface=!ether1-gateway protocol=tcp
- add chain=forward comment="p2p RAN" dst-address=192.168.88.25 dst-port=31330-31340 in-interface=!ether1-gateway protocol=udp
- add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
- add chain=forward comment="default configuration" connection-state=established
- add chain=forward comment="default configuration" connection-state=related
- add action=drop chain=forward comment="default configuration" connection-state=invalid
- /ip firewall nat
- add action=masquerade chain=srcnat comment="default configuration" out-interface=pppoe-out1 src-address=192.168.88.0/24 to-addresses=0.0.0.0
- add action=dst-nat chain=dstnat dst-port=31330-31340 protocol=tcp to-addresses=192.168.88.25 to-ports=31330-31340
- add action=dst-nat chain=dstnat dst-port=31330-31340 protocol=udp to-addresses=192.168.88.25 to-ports=31330-31340
- /ip service
- set telnet disabled=yes
- set ftp address=192.168.88.0/24
- set www address=192.168.88.0/24
- set ssh address=192.168.88.0/24
- set api disabled=yes
- set winbox address=192.168.88.0/24
- set api-ssl disabled=yes
- /ip smb
- set enabled=yes interfaces=bridge-local
- /ip upnp
- set allow-disable-external-interface=no enabled=yes
- /ip upnp interfaces
- add interface=bridge-local type=internal
- add forced-external-ip=79.35.0.113 interface=pppoe-out1 type=external
- add disabled=yes interface=ether1-gateway type=external
- /system clock
- set time-zone-name=Europe/Samara
- /system leds
- set 0 interface=wlan1
- /system note
- set note="have a nice day"
- /system ntp client
- set enabled=yes mode=unicast primary-ntp=91.207.136.50 secondary-ntp=146.185.130.223
- /system routerboard settings
- set cpu-frequency=700MHz
- /system script
- add name=alarm policy=ftp,read,policy,test,winbox,password,sniff,sensitive,api source=":for t1 from=1 to=10 step=1 do={\r\
- \n :for t2 from=300 to=1800 step=40 do={\r\
- \n :beep frequency=\$t2 length=11ms;\r\
- \n :delay 11ms;\r\
- \n }\r\
- \n }"
- /tool mac-server
- set [ find default=yes ] disabled=yes
- add interface=ether2-master-local
- add interface=ether3-slave-local
- add interface=ether4-slave-local
- add interface=ether5-slave-local
- add interface=wlan1
- add interface=bridge-local
- /tool mac-server mac-winbox
- set [ find default=yes ] disabled=yes
- add interface=ether2-master-local
- add interface=ether3-slave-local
- add interface=ether4-slave-local
- add interface=ether5-slave-local
- add interface=wlan1
- add interface=bridge-local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement