sea-man
Usuari@ ADSLzone
- Mensajes
- 6
Creado nuevo bridge y wlan1 port, pasa nunca, no connectividadQué pasa si mueves la IP y el dhcp a una interfaz bridge y metes wlan1 como puerto?
/interface bridge
add name=bridge1
/interface wireless
set [ find default-name=wlan1 ] country=spain disabled=no mode=ap-bridge \
ssid=maplite wireless-protocol=802.11
/interface wireguard
add listen-port=63656 mtu=1420 name=nordvpn
/interface list
add name=WAN
add name=LAN
/interface lte apn
set [ find default=yes ] ip-type=ipv4 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 pool
add name=dhcp_pool1 ranges=192.168.90.2-192.168.90.254
/ip dhcp-server
add address-pool=dhcp_pool1 interface=bridge1 name=dhcp_wg relay=192.168.90.1
/routing table
add fib name=nordvpn
add fib name=nordvpn
/interface bridge port
add bridge=bridge1 interface=wlan1 trusted=yes
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
/interface list member
add interface=ether1 list=WAN
add list=LAN
add interface=nordvpn list=WAN
/interface ovpn-server server
set auth=sha1,md5
/interface wireguard peers
add allowed-address=0.0.0.0/0 endpoint-address=es163.nordvpn.com \
endpoint-port=51820 interface=nordvpn persistent-keepalive=25s \
public-key="IF1FGVSzrUznFVZ+dymIz+6bdlCgsuiT/d6cyapN8lw="
/ip address
add address=192.168.90.1/24 interface=wlan1 network=192.168.90.0
add address=10.5.0.2 interface=nordvpn network=10.5.0.2
/ip dhcp-client
add interface=ether1
/ip dhcp-server network
add address=192.168.90.0/24 dns-server=8.8.8.8 gateway=192.168.90.1
/ip dns
set servers=8.8.8.8
/ip route
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=nordvpn pref-src="" \
routing-table=nordvpn scope=30 suppress-hw-offload=no target-scope=10
add dst-address=0.0.0.0/0 gateway=nordvpn routing-table=nordvpn
/routing rule
add action=lookup-only-in-table interface=bridge1 src-address=192.168.90.0/24 \
table=nordvpn