WireGuard Selective Routing to External VPN Endpoint

Started by sigmelu, May 26, 2024, 06:40:00 PM

Previous topic - Next topic
Hello,
I have a wireguard server set on a debian linode VPS and I want to connect my DEC700 to it in order to apply over one host behind DEC700 (hostname: win, IP: 172.27.72.10). I have followed https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html and nothing happens, on the specific host I still have my ISP IP, seems to be a routing problem.
OPNsense router details:
My LAN subnet is 172.27.72.0/25 and My WAN public IP is provided by ISP via PPPOE.

I will try to show here every step I followed, hoping somebody will point me into the right direction:
VPN ‣ WireGuard ‣ Peers


VPN ‣ WireGuard ‣ Instances


VPN ‣ WireGuard ‣ General


Interfaces ‣ Assignments


System ‣ Gateways ‣ Configuration



Firewall ‣ Aliases


Firewall ‣ Rules ‣ linode2


Firewall ‣ Rules ‣ Floating


Firewall ‣ NAT ‣ Outbound


Wireguard OPNsense client has 10.10.5.8 and it is connected to wireguard server (linode), I can see it very clear,  there are 2 peers, my OPNsenseDEC700 (10.10.5.8 ) and a phone(10.10.5.2), both connected to this wireguard server. On the phone I have linode public IP and work as expected, on my win host unfortunately not.



DEC700 Dashboard


I searched over the internet but I wasn't able to get anything clear to solve my issue.
I would appreciate if somebody will explain what I am doing wrong.
Many thanks in advance!

LE: I figured how to do it but some steps here are not necessary, the tutorial is not good.
I can explain if someone would be interested.

QuoteI can explain if someone would be interested.

very interesting
I tried a lot of manuals but still couldn't launch selective routing