Wireguard VPN configure in mikrotik router os 7
First Create a wireguard logical interface
/interface wireguard
add listen-port=13231 mtu=1420 name=wireguard1
Or
Then add a ip address in wireguard interface.
/ip address
add address=10.10.10.1/24 interface=wireguard1 network=10.10.10.0
Or
/ip dns
set servers=8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat
Now Create peer configuration
/interface wireguard peers
add allowed-address=10.10.10.2/32 interface=wireguard1 public- key="Peer Public Key"
No comments:
Post a Comment
Thanks for your valuable feedback.