Client0.Loaner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:HamWan Equipment Configurations|Sort]] | [[Category:HamWan Equipment Configurations|Sort]] | ||
<pre> | <pre> | ||
[admin@VE7OGO-RADIO0] > /export | [admin@VE7OGO-RADIO0] > /export | ||
# jun/ | # jun/25/2017 08:21:13 by RouterOS 6.35.4 | ||
# software id = T3IR-71TU | # software id = T3IR-71TU | ||
# | # | ||
/interface wireless | /interface wireless | ||
set [ find default-name=wlan1 ] band=5ghz-a/n channel-width=10mhz disabled=no \ | set [ find default-name=wlan1 ] band=5ghz-a/n channel-width=10mhz disabled=no frequency=5900 \ | ||
frequency-mode=superchannel scan-list=HamWAN ssid=HamWan tx-power=27 tx-power-mode=all-rates-fixed \ | |||
wireless-protocol=nv2 | wireless-protocol=nv2 | ||
/interface wireless channels | /interface wireless channels | ||
add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" | add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ | ||
Sector1-5 width=5 | |||
add band=5ghz-onlyn comment= | add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ | ||
HamWAN name=Sector2-5 width=5 | |||
add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ | |||
add band=5ghz-onlyn comment= | HamWAN name=Sector3-5 width=5 | ||
add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ | |||
Sector1-10 width=10 | |||
add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" | add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ | ||
HamWAN name=Sector2-10 width=10 | |||
add band=5ghz-onlyn comment= | add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ | ||
HamWAN name=Sector3-10 width=10 | |||
add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ | |||
add band=5ghz-onlyn comment= | Sector1-5 width=5 | ||
add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ | |||
HamWAN name=Sector2-5 width=5 | |||
add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" | add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ | ||
HamWAN name=Sector3-5 width=5 | |||
add band=5ghz-onlyn comment= | add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ | ||
Sector1-10 width=10 | |||
add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ | |||
add band=5ghz-onlyn comment= | HamWAN name=Sector2-10 width=10 | ||
add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ | |||
HamWAN name=Sector3-10 width=10 | |||
add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" | |||
add band=5ghz-onlyn comment= | |||
add band=5ghz-onlyn comment= | |||
/interface wireless security-profiles | /interface wireless security-profiles | ||
set [ find default=yes ] supplicant-identity=MikroTik | set [ find default=yes ] supplicant-identity=MikroTik | ||
Line 53: | Line 43: | ||
set ssid-all=yes | set ssid-all=yes | ||
/ip address | /ip address | ||
add address=192.168.88.1/24 comment=defconf interface=ether1 network= | add address=192.168.88.1/24 comment=defconf interface=ether1 network=192.168.88.0 | ||
/ip dhcp-client | /ip dhcp-client | ||
add comment=defconf dhcp-options=hostname,clientid disabled=no interface= | add comment=defconf dhcp-options=hostname,clientid disabled=no interface=wlan1 | ||
/ip dhcp-server network | /ip dhcp-server network | ||
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1 | add address=192.168.88.0/24 comment=defconf dns-server=8.8.8.8 gateway=192.168.88.1 | ||
/ip dns | /ip dns | ||
set | set servers=8.8.8.8 | ||
/ip dns static | /ip dns static | ||
add address=192.168.88.1 name=router | add address=192.168.88.1 name=router | ||
/ip firewall filter | /ip firewall filter | ||
add chain=input comment="defconf: accept ICMP" protocol=icmp | add chain=input comment="defconf: accept ICMP" protocol=icmp | ||
add chain=input comment="defconf: accept established,related" | add chain=input comment="defconf: accept established,related" connection-state=established,related | ||
add action=drop chain=input comment="defconf: drop all from WAN" disabled=yes in-interface=wlan1 | |||
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" | add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=\ | ||
established,related | |||
add chain=forward comment="defconf: accept established,related" | add chain=forward comment="defconf: accept established,related" connection-state=established,related | ||
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid | |||
add action=drop chain=forward comment="defconf: drop invalid" | add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=\ | ||
!dstnat connection-state=new in-interface=wlan1 | |||
add action=drop chain=forward comment= | add chain=input in-interface=wlan1 src-address=24.71.118.152 | ||
connection-state=new in-interface=wlan1 | |||
add chain=input in-interface=wlan1 src-address=44.135.216.0/23 | add chain=input in-interface=wlan1 src-address=44.135.216.0/23 | ||
add action=drop chain=input in-interface=wlan1 | add action=drop chain=input in-interface=wlan1 | ||
/ip firewall nat | /ip firewall nat | ||
add action=masquerade chain=srcnat comment="defconf: masquerade" | add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=wlan1 | ||
/ip route | /ip route | ||
add disabled=yes distance=1 gateway=44.135.217.1 | add disabled=yes distance=1 gateway=44.135.217.1 |
Latest revision as of 15:11, 25 June 2017
[admin@VE7OGO-RADIO0] > /export # jun/25/2017 08:21:13 by RouterOS 6.35.4 # software id = T3IR-71TU # /interface wireless set [ find default-name=wlan1 ] band=5ghz-a/n channel-width=10mhz disabled=no frequency=5900 \ frequency-mode=superchannel scan-list=HamWAN ssid=HamWan tx-power=27 tx-power-mode=all-rates-fixed \ wireless-protocol=nv2 /interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ Sector1-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ HamWAN name=Sector2-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ HamWAN name=Sector3-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ Sector1-10 width=10 add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ HamWAN name=Sector2-10 width=10 add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ HamWAN name=Sector3-10 width=10 add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ Sector1-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ HamWAN name=Sector2-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ HamWAN name=Sector3-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=\ Sector1-10 width=10 add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=\ HamWAN name=Sector2-10 width=10 add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=\ HamWAN name=Sector3-10 width=10 /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik /ip pool add name=dhcp ranges=192.168.88.10-192.168.88.254 /ip dhcp-server add address-pool=dhcp disabled=no interface=ether1 name=defconf /interface wireless align set ssid-all=yes /ip address add address=192.168.88.1/24 comment=defconf interface=ether1 network=192.168.88.0 /ip dhcp-client add comment=defconf dhcp-options=hostname,clientid disabled=no interface=wlan1 /ip dhcp-server network add address=192.168.88.0/24 comment=defconf dns-server=8.8.8.8 gateway=192.168.88.1 /ip dns set servers=8.8.8.8 /ip dns static add address=192.168.88.1 name=router /ip firewall filter add chain=input comment="defconf: accept ICMP" protocol=icmp add chain=input comment="defconf: accept established,related" connection-state=established,related add action=drop chain=input comment="defconf: drop all from WAN" disabled=yes in-interface=wlan1 add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=\ established,related add chain=forward comment="defconf: accept established,related" connection-state=established,related add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=\ !dstnat connection-state=new in-interface=wlan1 add chain=input in-interface=wlan1 src-address=24.71.118.152 add chain=input in-interface=wlan1 src-address=44.135.216.0/23 add action=drop chain=input in-interface=wlan1 /ip firewall nat add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=wlan1 /ip route add disabled=yes distance=1 gateway=44.135.217.1 /system clock set time-zone-name=America/Vancouver /system identity set name=VE7OGO-RADIO0 /system leds set 0 interface=wlan1 /system routerboard settings set protected-routerboot=disabled /tool mac-server set [ find default=yes ] disabled=yes add interface=ether1 /tool mac-server mac-winbox set [ find default=yes ] disabled=yes add interface=ether1