Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # may/15/2016 12:44:02 by RouterOS 6.30.4
- # software id = G7S8-6MTA
- #
- /interface bridge
- add admin-mac=E4:8D:8C:5B:62:5A auto-mac=no name=bridge-local
- /interface wireless
- set [ find default-name=wlan1 ] band=2ghz-onlyn channel-width=20/40mhz-Ce \
- country=australia disabled=no distance=indoors frequency=auto l2mtu=1600 \
- mode=ap-bridge rx-chains=0,1 ssid=MikroTik-5B625D tx-chains=0,1 \
- wireless-protocol=802.11
- /interface ethernet
- set [ find default-name=ether1 ] name=ether1-gateway
- set [ find default-name=ether2 ] name=ether2-master-local
- set [ find default-name=ether3 ] master-port=ether2-master-local name=\
- ether3-slave-local
- set [ find default-name=ether4 ] master-port=ether2-master-local name=\
- ether4-slave-local
- /interface pppoe-client
- add add-default-route=yes disabled=no interface=ether1-gateway name=pppoe-out1 \
- password=*SNIP* service-name=iiNet use-peer-dns=yes user=\
- *SNIP*
- /ip neighbor discovery
- set ether1-gateway discover=no
- /interface wireless security-profiles
- set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
- dynamic-keys wpa-pre-shared-key=crystalcastles wpa2-pre-shared-key=\
- crystalcastles
- /ip ipsec policy group
- add name=group1
- /ip pool
- add name=dhcp ranges=192.168.131.100-192.168.131.253
- /ip dhcp-server
- add address-pool=dhcp disabled=no interface=bridge-local name=default
- /interface bridge port
- add bridge=bridge-local interface=ether2-master-local
- add bridge=bridge-local interface=wlan1
- /ip address
- add address=192.168.131.254/24 comment="default configuration" interface=\
- ether2-master-local network=192.168.131.0
- /ip dhcp-client
- add comment="default configuration" dhcp-options=hostname,clientid interface=\
- ether1-gateway
- /ip dhcp-server network
- add address=192.168.131.0/24 comment="default configuration" gateway=\
- 192.168.131.254 netmask=24
- /ip dns
- set allow-remote-requests=yes
- /ip dns static
- add address=192.168.131.254 name=router
- /ip firewall filter
- add chain=input comment="default configuration" protocol=icmp
- add chain=input comment="default configuration" connection-state=\
- established,related
- add action=drop chain=input comment="default configuration" in-interface=\
- ether1-gateway
- add action=fasttrack-connection chain=forward comment="default configuration" \
- connection-state=established,related
- add chain=forward comment="default configuration" connection-state=\
- established,related
- add action=drop chain=forward comment="default configuration" connection-state=\
- invalid
- add action=drop chain=forward comment="default configuration" \
- connection-nat-state=!dstnat connection-state=new in-interface=\
- ether1-gateway
- /ip firewall nat
- add chain=srcnat dst-address=172.16.0.0/24 src-address=192.168.131.0/24
- add action=masquerade chain=srcnat comment="default configuration" \
- out-interface=pppoe-out1
- /ip ipsec peer
- add address=58.166.115.192/32 policy-template-group=group1 secret=test
- /ip ipsec policy
- add dst-address=172.16.0.0/24 sa-dst-address=58.166.115.192 sa-src-address=\
- 124.168.156.150 src-address=192.168.131.0/24 tunnel=yes
- /ip service
- set telnet disabled=yes
- set www disabled=yes
- /ip upnp
- set enabled=yes
- /ip upnp interfaces
- add interface=bridge-local type=internal
- add interface=pppoe-out1 type=external
- /system clock
- set time-zone-name=Australia/Sydney
- /system routerboard settings
- set cpu-frequency=650MHz protected-routerboot=disabled
- /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=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=wlan1
- add interface=bridge-local
- /tool romon port
- add
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement