I am trying to set up SSH access from my VPS (public IP, Ubuntu) to my MikroTik router (public IP, but behind quite prohibitive router). I decided to try and use a Wireguard implementation in RouterOS v7.1rc5. Before trying to set this up, I managed to successfully set up my laptop as a client to my VPS (in this setup, this is the "server"). Everything is going on a 10.0.0.0/24 network with 10.0.0.1 being my VPS and 10.0.0.2 being my laptop. I managed to set up also Wireguard on MikroTik. According to my VPS, the handshake went OK:
Code: Select all
peer: (key)
endpoint: (Router's public IP address):13231
allowed ips: 10.0.0.3/32
latest handshake: 1 minute, 55 seconds ago
transfer: 5.02 KiB received, 39.79 KiB sent
Everything is in a basic and clean setup. Thing's that I added are (except for wireguard interface):
WireGuard -> Peers:
Endpoint: (VPS public IP)
Endpoint Port: 41194
Allowed Address: 10.0.0.0/24
Persistent Keepalive: 00:00:15
IP -> Addresses:
Address: 10.0.0.0/24
Network: 10.0.0.0
Interface: wireguard1
IP -> Routes:
Dst. Address: 10.0.0.0/24
Gateway: %wireguard1