Mikrotik Routerboard 953GS-5HnT with a Sierra Wireless MC7304 mini-PCIe Card
/interface ppp-client
add allow=pap,chap apn=yesinternet data-channel=2 dial-on-demand=no disabled=no info-channel=2 keepalive-timeout=0 name=\
ppp-out1 phone=*99# port=usb2
/interface bridge port
add bridge=wireless-guests comment=defconf interface=wlan1-5G
add bridge=wireless-guests comment=defconf interface=wlan2-2G
/ip address
add address=10.98.76.1/24 interface=wireless-guests network=10.98.76.0
/ip dhcp-server network
add address=10.98.76.0/24 dns-server=10.98.76.1 gateway=10.98.76.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
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" in-interface=ppp-out1
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=ppp-out1
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=ppp-out1
/port firmware
set ignore-directip-modem=yes
add allow=pap,chap apn=yesinternet data-channel=2 dial-on-demand=no disabled=no info-channel=2 keepalive-timeout=0 name=\
ppp-out1 phone=*99# port=usb2
/interface bridge port
add bridge=wireless-guests comment=defconf interface=wlan1-5G
add bridge=wireless-guests comment=defconf interface=wlan2-2G
/ip address
add address=10.98.76.1/24 interface=wireless-guests network=10.98.76.0
/ip dhcp-server network
add address=10.98.76.0/24 dns-server=10.98.76.1 gateway=10.98.76.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
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" in-interface=ppp-out1
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=ppp-out1
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=ppp-out1
/port firmware
set ignore-directip-modem=yes
Comments
Post a Comment