Professional Documents
Culture Documents
Etecsa
Etecsa
/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] >