Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

/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=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps \
country=australia disabled=no frequency=5500 ht-basic-mcs=mcs-2,mcs-3,mcs-4 \
ht-supported-mcs=mcs-2,mcs-3,mcs-4 mode=station-pseudobridge radio-name=\
xiaomi rate-set=configured scan-list=5500 ssid=WIFI_ETECSA tx-power=30 \
tx-power-mode=all-rates-fixed wireless-protocol=802.11
/interface wireless nstreme
set wlan1 enable-nstreme=yes
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik

/ip pool
add name=dhcp_pool0 ranges=192.168.5.7-192.168.5.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=ether1 name=dhcp1
/queue simple
add dst=ether1 name=Repartir queue=pcq-upload-default/pcq-download-default \
target=ether1
/ip address
add address=192.168.5.6/24 interface=ether1 network=192.168.5.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=wlan1
/ip dhcp-server network
add address=192.168.5.0/24 dns-server=181.225.231.120,181.225.231.110 gateway=\
192.168.5.6
/ip dns
set servers=181.225.231.120,181.225.231.110
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
add action=masquerade chain=srcnat out-interface=wlan1
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.5.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.5.0/24

/system clock
set time-zone-name=America/Havana
[admin@MikroTik] >

You might also like