Client0.Loaner: Difference between revisions

From OCARC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 77: Line 77:
     "defconf:  drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
     "defconf:  drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
     connection-state=new in-interface=wlan1
     connection-state=new in-interface=wlan1
add chain=input in-interface=wlan1 src-address=44.135.216.0/23
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" \

Revision as of 05:12, 19 June 2017

[admin@VE7OGO-RADIO0] > /export 
# jun/17/2017 13:32:05 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 \
    wireless-protocol=nv2
/ip neighbor discovery
set wlan1 discover=no
/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 gateway=192.168.88.1
/ip dns
set allow-remote-requests=no 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=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=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