# sep/21/2016 17:37:32 by RouterOS 6.36.3
# software id = 3BA9-F8AR
#
/interface pptp-server
/interface pptp-client
add connect-to=192.168.0.1 disabled=no mrru=1600 name="Internet ISP2" user=ISP2
/interface wireless security-profiles
set [ find default=yes ] group-ciphers="" unicast-ciphers=""
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=profile1 supplicant-identity=""
/interface wireless
set [ find default-name=wlan1 ] ampdu-priorities=0,1,2,3,4,5,6,7 band=5ghz-a/n basic-rates-a/g="" basic-rates-b="" channel-width=20/40mhz-Ce disabled=no \
frequency=5420 frequency-mode=superchannel hide-ssid=yes ht-basic-mcs=mcs-2,mcs-3,mcs-4,mcs-5,mcs-6 ht-supported-mcs=\
mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-16,mcs-17,mcs-18,mcs-19,mcs-20,mcs-21,mcs-22,mcs-23 mode=ap-bridge name=wlan2 nv2-cell-radius=10 rx-chains=0,1 \
security-profile=profile1 ssid=@@2@@ supported-rates-a/g="" supported-rates-b="" tx-chains=0,1 tx-power=22 tx-power-mode=all-rates-fixed \
wireless-protocol=nstreme
/interface wireless nstreme
set wlan2 enable-nstreme=yes framer-limit=4000 framer-policy=best-fit
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=pool1 ranges=192.168.1.10-192.168.1.60
/ip dhcp-server
add address-pool=pool1 disabled=no interface=ether1 name=server1
/queue interface
set ether1 queue=ethernet-default
set ether2 queue=ethernet-default
set ether3 queue=ethernet-default
/routing bgp instance
set default as=22 router-id=192.168.0.1
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/tool user-manager customer
set admin access=own-routers,own-users,own-profiles,own-limits,config-payment-gw time-zone=+00:00
/interface pptp-server server
set enabled=yes
/ip address
add address=192.168.1.1/26 interface=ether1 network=192.168.1.0
add address=192.168.1.254/29 interface=wlan1 network=192.168.1.248
/ip dhcp-server lease
add address=192.168.1.14 client-id=1:b8:27:eb:97:7b:c comment=RASPBERRY mac-address=B8:27:EB:97:7B:0C server=server1
/ip dhcp-server network
add address=192.168.1.0/26 dns-server=192.168.1.1 gateway=192.168.1.1
/ip dns
set allow-remote-requests=yes max-udp-packet-size=512 servers=192.168.1.2
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address=!192.168.0/26 new-routing-mark=ISP2 passthrough=yes src-address=192.168.1.9
/ip firewall nat
add action=masquerade chain=srcnat dst-address=!10.0.0.0/8 out-interface=ether1 src-address=192.168.1.0/26
add action=masquerade chain=srcnat dst-address=!10.0.0.0/8 out-interface="Internet ISP2" src-address=192.168.1.0/26
/ip route
add distance=1 gateway="Internet ISP2" routing-mark=ISP2
add distance=1 gateway=192.168.1.2
/ip service
set api disabled=yes
/routing bgp network
add network=192.168.1.0/24 synchronize=no
/routing bgp peer
add hold-time=30s keepalive-time=10s name=ISP2 remote-address=192.168.1.245 remote-as=23
/system clock
set time-zone-name=Europe/Athens
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set wlan1 disabled=yes display-time=5s
set wlan2 disabled=yes display-time=5s
set ether1 disabled=yes display-time=5s
set ether2 disabled=yes display-time=5s
set ether3 disabled=yes display-time=5s
set "Internet ISP2" disabled=yes display-time=5s
/system ntp client
set enabled=yes primary-ntp=194.177.210.54 secondary-ntp=212.18.3.19
/tool bandwidth-server
set authenticate=no max-sessions=10
/tool user-manager database
set db-path=user-manager1