

/interface bridge
add name=bridge1 protocol-mode=none
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=PWD supplicant-identity="" wpa-pre-shared-key=xxxxxxxxxxx wpa2-pre-shared-key=xxxxxxxxxxx
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n basic-rates-a/g=6Mbps,24Mbps,36Mbps,48Mbps,54Mbps country=italy disabled=no mode=ap-bridge security-profile=PWD ssid=xxxxxxxxxx wireless-protocol=802.11 wps-mode=disabled
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.0.101-192.168.0.200
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=wlan1
/interface list member
add interface=ether1 list=WAN
add interface=bridge1 list=LAN
/ip address
add address=172.68.11.24/24 interface=ether1 network=172.68.11.0
add address=192.168.0.1/24 interface=bridge1 network=192.168.0.0
/ip dhcp-client
add dhcp-options=hostname,clientid interface=ether1
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.0.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4,85.38.28.97,151.99.125.1,85.37.17.51,212.216.112.112
/ip firewall nat
add action=masquerade chain=srcnat comment="Maschero la lan1" out-interface-list=WAN
/ip route
add distance=1 gateway=172.68.11.1
/ip service
set ftp disabled=yes
set www disabled=yes
/system clock
set time-zone-name=Europe/Rome
/system identity
set name=AP_xxxxxxxx_
/system ntp client
set enabled=yes primary-ntp=193.204.114.232 secondary-ntp=193.204.114.233 server-dns-names=it.pool.ntp.org
/system scheduler
add comment=Riavvio_Routerboard interval=1d name="system reboot" on-event="/system reboot" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=oct/13/2018 start-time=03:00:00
Visitano il forum: Nessuno e 6 ospiti