Good morning. I can't connect to the newly created wireguard server. Should we make a port forward of 13231? If yes, how ?
I followed this tutorial: https://systemzone.net/wireguard-vpn-se ... indows-os/
Code: Select all
# feb/23/2023 19:57:15 by RouterOS 7.7
# software id = UUHP-GLJA
#
# model = RBD52G-5HacD2HnD
# serial number = HCY087NN590
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
set [ find default-name=wlan2 ] ssid=MikroTik
/interface wireguard
add listen-port=13231 mtu=1420 name=wireguard1
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp_pool1 ranges=192.168.50.2-192.168.50.254
/ip dhcp-server
add address-pool=dhcp_pool1 interface=ether5 name=dhcp1
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
/interface ovpn-server server
set auth=sha1,md5
/interface wireguard peers
add allowed-address=192.168.30.5/32 interface=wireguard1 public-key=\
"XxXxXfBB42Rf8Jx/taF0JX2Ng44gCjoXxXxXxXxXxX="
/ip address
add address=192.168.50.1/24 interface=ether5 network=192.168.50.0
add address=192.168.1.15/24 interface=ether1 network=192.168.1.0
add address=192.168.30.1/24 interface=wireguard1 network=192.168.30.0
/ip dhcp-client
add disabled=yes interface=ether1
/ip dhcp-server network
add address=192.168.50.0/24 gateway=192.168.50.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,1.1.1.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip route
add check-gateway=ping disabled=no dst-address=0.0.0.0/0 gateway=\
192.168.1.254
/system routerboard settings
set cpu-frequency=716MHz