salve
anche se il dhcp-client rimane bloccato un searching sono riuscito a collegarmi con protonvpn via wireguard.
la configurazione deve essere sistemata in base alle proprie esigenze
nel mio caso la configurazione di
default non funziona: indirizzi route da sistemare...
mtu da sistemare in base alla propria linea
forse ci sarebbe da valutare la disattivazione del protocollo rstp o impostare la priorità su 9000: comunque non ho notato molta differenza.
se ci sono suggerimenti per il firewall o altro li accetto molto volentieri
grazie a tutti
saluti
se può essere utile questa è la mia configurazione:
# 2024-03-02 08:19:07 by RouterOS 7.14
# software id = 1GE8-5YHF
#
# model = RBD53G-5HacD2HnD
# serial number = D7B00C01D3A8
/interface bridge
add name=brd priority=0x9000
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n country=italy disabled=no \
frequency=2452 mode=ap-bridge ssid=chateau12lte24ghz wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac country=italy disabled=no \
frequency=5700 mode=ap-bridge ssid=chateau12lte5ghz wireless-protocol=802.11
/interface lte
set [ find default-name=lte1 ] allow-roaming=yes band="" sms-read=yes
/interface wireguard
add listen-port=51820 mtu=1360 name=WG0
/interface list
add name=WAN
add name=LAN
/interface lte apn
set [ find default=yes ] apn=iliad name=ILIAD use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
dynamic-keys supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.88.2-192.168.88.254
/ip dhcp-server
add address-pool=dhcp_pool0 interface=brd name=dhcp1
/routing table
add disabled=no fib name=WG0
/interface bridge port
add bridge=brd interface=ether1
add bridge=brd interface=wlan1
add bridge=brd interface=ether2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add interface=lte1 list=WAN
add interface=brd list=LAN
/interface wireguard peers
add allowed-address=0.0.0.0/0,10.2.0.0/30,::/0 endpoint-address=146.70.179.18 \
endpoint-port=51820 interface=WG0 persistent-keepalive=35s public-key=\
"QA+TBTylpDuM0c/gbNfX7/efivIMg7P0ncLMBtTvglg="
/ip address
add address=192.168.88.1/24 interface=brd network=192.168.88.0
add address=10.2.0.1/30 interface=WG0 network=10.2.0.0
ip dhcp-client
add interface=brd use-peer-dns=no use-peer-ntp=no
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=10.2.0.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=10.2.0.1
/ip firewall filter
add action=accept chain=input protocol=icmp
add action=accept chain=forward dst-port=80-443 out-interface=WG0 protocol=\
tcp src-address=192.168.88.0/24
add action=drop chain=input connection-state=invalid in-interface-list=!LAN
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN
add action=masquerade chain=srcnat out-interface=WG0
add action=masquerade chain=srcnat out-interface=brd
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=WG0 pref-src="" \
routing-table=WG0 scope=30 suppress-hw-offload=no target-scope=10
/ip service
set www-ssl disabled=no
/routing rule
add action=lookup disabled=no src-address=192.168.88.0/24 table=WG0
/system clock
set time-zone-name=Europe/Rome
/system note
set show-at-login=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN