Site to site with Wireguard
Posted: Mon Feb 27, 2023 11:11 am
Has anyone been able to implement wireguard for site to site VPN. I have done my config as per the blog post https://grzegorzkowalik.com/konfiguracj ... e-to-site/ and honestly it does not connect. Also followed the video post on youtube https://youtu.be/P6f8Qc4EItc but still my routers do not connect. Both have static IP but still no traffic inbetween. Have allowed the necessary firewall filters(udp port 13231) on both ends plus have added static routes for the interfaces.
Code for Site A:
Config for Site B
Thanks.
Code for Site A:
Code: Select all
# feb/24/2023 09:27:48 by RouterOS 7.7
# software id = MXWL-FJNR
#
# model = RB951Ui-2HnD
# serial number = xxxxxx
/interface wireguard
add listen-port=13231 mtu=1420 name=WG-Rongai
/interface wireguard peers
add allowed-address=0.0.0.0/0 endpoint-address=41.72.208.126 endpoint-port=\
13231 interface=WG-Rongai public-key=\
"UlMiz3f9oz97OS/M6DaAfibhp0wbtrrjLs4rSLBhDiA="
Config for Site B
Code: Select all
# feb/27/2023 12:06:25 by RouterOS 7.7
# software id = 0AFC-HK9B
#
# model = RB2011UiAS-2HnD
# serial number = xxxxxxx
/interface wireguard
add listen-port=13231 mtu=1420 name=WG-PRD
/interface wireguard peers
add allowed-address=0.0.0.0/0 endpoint-address=102.215.189.11 endpoint-port=13231 interface=WG-PRD public-key=\
"+YvP+o0REkrCVLCiXdypp+q/uL7b82YzoSq0iedX9mU=