I have use almost same code on my HAP AC and it is working on it.
What is difference between non LTE model and LTE model?
Here is whole settings(I have blind sensitive codes.)
Thank you for reading.
Code: Select all
# apr/11/2022 21:27:27 by RouterOS 6.49.5
# software id = 20LR-NG5U
#
# model = RBwAPGR-5HacD2HnD
# serial number = XXXXXX
/interface bridge
add admin-mac=2C:C8:1B:A5:9B:3A auto-mac=no comment=defconf name=bridge
/interface lte
set [ find ] allow-roaming=no name=lte1 network-mode=3g
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
country=no_country_set disabled=no distance=indoors frequency=auto \
installation=indoor mode=ap-bridge ssid=XXXXXX wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
20/40/80mhz-Ceee country=no_country_set disabled=no distance=indoors \
frequency=auto installation=indoor mode=ap-bridge ssid=XXXXXX_5G \
wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface lte apn
set [ find default=yes ] apn=web.sktelecom.com authentication=pap name=\
"sk telecom"
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=XXXXXXXX \
wpa2-pre-shared-key=XXXXXXXX
/ip pool
add name=dhcp ranges=192.168.4.10-192.168.4.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=lte1 list=WAN
/interface pptp-server server
set enabled=yes
/ip address
add address=192.168.4.1/24 comment=defconf interface=bridge network=\
192.168.4.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=10m
/ip dhcp-server network
add address=192.168.4.0/24 comment=defconf gateway=192.168.4.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.4.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=accept chain=input comment="Accept 1723(PPTP)" dst-port=1723 \
protocol=tcp
add action=accept chain=input comment="Accept 1723(PPTP)" dst-port=1723 \
protocol=udp
add action=accept chain=input comment="Accept 1723(PPTP)" protocol=gre
add action=accept chain=input comment="Accept 47(PPTP)" dst-port=47 protocol=\
tcp
add action=accept chain=input comment=VPN port=1701,500,4500 protocol=udp
add action=accept chain=input comment=Winbox dst-port=8291 protocol=tcp
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment=\
"defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=input comment=VPN port=1701,500,4500 protocol=udp
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
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-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
add action=dst-nat chain=dstnat comment=Winbox dst-port=8291 protocol=tcp \
to-addresses=192.168.4.1 to-ports=0
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=lte1 type=external
/ppp secret
add name=XXXXXX password=XXXXXX profile=default-encryption
/system clock
set time-zone-name=Asia/Seoul
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN