VA7STV/QTH HamWAN Configuration

From OCARC
Revision as of 05:16, 11 October 2017 by Va7stv (talk | contribs) (Created page with "<pre> # oct/10/2017 22:14:17 by RouterOS 6.40 # software id = LEN1-Q3C5 # # model = RouterBOARD LHG 5nD # serial number = 74D806D6673C /interface wireless set [ find default-n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# oct/10/2017 22:14:17 by RouterOS 6.40
# software id = LEN1-Q3C5
#
# model = RouterBOARD LHG 5nD
# serial number = 74D806D6673C
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-a/n channel-width=10mhz disabled=no frequency=5920 frequency-mode=superchannel ht-basic-mcs="" ht-supported-mcs="" radio-name=VA7STV scan-list=HamWAN ssid=\
    HamWan wireless-protocol=nv2
/interface vlan
add interface=ether1 name=HAMWAN-PUBLIC vlan-id=600
/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 frequency=5890 list=LinkChannels name=LINK-5890-10 width=10
add band=5ghz-onlyn frequency=5910 list=LinkChannels name=LINK-5910-10 width=10
add band=5ghz-onlyn frequency=5890 list=LinkChannels name=LINK-5890-5 width=5
add band=5ghz-onlyn frequency=5910 list=LinkChannels name=LINK-5910-5 width=5
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/snmp community
set [ find default=yes ] name=hamwan
/interface wireless align
set receive-all=yes ssid-all=yes
/interface wireless connect-list
add interface=wlan1 mac-address=4C:5E:0C:1F:51:A0 security-profile=default
/ip dhcp-client
add default-route-distance=10 dhcp-options=hostname,clientid disabled=no interface=ether1
add default-route-distance=10 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 action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept 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 action=accept 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 action=accept chain=input in-interface=wlan1 src-address=24.71.118.152
add action=accept 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 distance=1 dst-address=44.135.216.0/27 gateway=44.135.217.1
/system clock
set time-zone-name=America/Vancouver
/system identity
set name=VA7STV/QTH2
/system leds
set 0 interface=wlan1
/tool graphing interface
add
/tool graphing resource
add
/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