OPNsense Forum

English Forums => Virtual private networks => Topic started by: Gautier on November 04, 2024, 06:34:12 PM

Title: VPN in VPN
Post by: Gautier on November 04, 2024, 06:34:12 PM
Hi,

We don't know why but I cannot connect at work with their VPN when I am in Azerbaijan. It's work when I am in France.
I have also personnal wireguard tunnel to my home server in France and I can connect without problem. I have declared 2 gateways and one static route to access remote LAN from oversea.
I would like to route the VPN traffic (or all but just this pc) to the wg gateway.

I really don't understand where to start.
Title: Re: VPN in VPN
Post by: bartjsmit on November 05, 2024, 08:13:34 AM
Could it be that someone who controls the network between you and the VPN server is blocking the traffic?

Try a more noisy port, such as TCP 443 or see if you can connect over ToR.
Title: Re: VPN in VPN
Post by: Gautier on November 05, 2024, 11:46:53 AM
I don't have access with the VPN server config, the client is not update since 2013. and full compagny connect with the same user.

Anyway for my personnal use I would like also route specific IP device to the wireguard GW.

I create fw rules but I think I have problem with DNS. If I connect with my phone, I write the tunnel address in the DNS and eveyrhing is ok but from site-to-site, doesnt work.
In settings>general I write DNS per gateway but OPNsense tell me "You can not assign a gateway to DNS server "10.2.1.99" which is on a directly connected network."