If you have multiple clients connected and one of them is setup with a /24 instead of a /32, it will cause issues. interface/wireguard/peers add allowed-address=192.128.1.2/32 interface=wireguard1 public-key="PublicKeyFromClientCreatedInNextStep" Change the allowed address and public key. Back on the MikroTik, run the following command. PublicKey = ReplaceWithInterfacePublicKeyFromMikrotik ip/address add address=192.168.1.1/24 network=192.168.1.0 interface=wireguard1 Configure WireGuard Clientĭownload and install the WireGuard application on your computer or phone.Ĭreate an empty config (Ctrl +N), click edit, add the following. Next we’ll configure an IP address/range for the new WireGuard interface. We’ll need to copy the public key, shown in the following command, for use in the client config. interface/wireguard add listen-port=51820 mtu=1420 name=wireguard1 Create a WireGuard Peer on the MikroTik Routerįirst we need to create a WireGuard interface to use.Configure WireGuard Interface on MikroTik Router.Quick overview of setting up a MikroTik Router as a VPN appliance. You may need to upgrade your MikroTik if the WireGuard options are not available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |