Community discussions

MikroTik App
 
tritonchev
just joined
Topic Author
Posts: 5
Joined: Thu Jun 16, 2022 9:00 am

Wireguard mikrotik client with external ip of wireguard server

Thu Jun 16, 2022 9:34 am

Hi ,

I made a Site to Site vpn connection between Ubuntu server (wireguard server) and mikrotik client. Addition I want to do the following:
Clients after microtics to go online with the public ip of the wireguard server. Is there a way to do this? NAT or RULE ???

Thanks !
 
tritonchev
just joined
Topic Author
Posts: 5
Joined: Thu Jun 16, 2022 9:00 am

Re: Wireguard mikrotik client with external ip of wireguard server

Thu Jun 16, 2022 1:27 pm

I found solution:

/routing rule add action=lookup src-address=192.168.xxx.0/24 table=wireguard-wan comment="Internet through WireGuard commercial VPN provider"
Now all Lan clients after Mikotik client goes to Internet via Wireguard Server

Who is online

Users browsing this forum: ericksetiawan, godel0914, Guntis, MaxwellsEq, onnyloh, xrlls and 90 guests