default route redirect ignored.

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
bluebeartking
OpenVpn Newbie
Posts: 1
Joined: Thu May 14, 2020 12:03 pm

default route redirect ignored.

Post by bluebeartking » Thu May 14, 2020 1:14 pm

Hello,
I use Pfsense and windows 10 clients.
I redirect all traffic to the server (Force all traffic through VPN)
This also works perfectly. I can filter Internet traffic at the central location and apply my rules to the clients.
But now I have noticed that some connections are not being sent to the headquarters. The example is Jitsi. I can see that the connection is being tried and blocked via the central one. At the same time, however, the client establishes a connection without VPN directly to the Jitsi server. This shouldn't be possible. Is there a way to prevent this?

Versions are all up to date or almost up to date.
Openvpn Client 2.4.8.
Windows 10 1809 & 1909

My routing table looks like this:

Code: Select all

Aktive Routen: (Client)
     Netzwerkziel    Netzwerkmaske          Gateway    Schnittstelle Metrik
          0.0.0.0          0.0.0.0    192.168.178.1   192.168.178.56     50
          0.0.0.0        128.0.0.0     10.10.22.1     10.10.22.75      3  <- VPn Route 
        128.0.0.0        128.0.0.0     10.10.22.1     10.10.22.75      3  <- VPn Route 
    192.168.178.0    255.255.255.0   Auf Verbindung    192.168.178.56    306
   192.168.178.56  255.255.255.255   Auf Verbindung    192.168.178.56    306
  192.168.178.255  255.255.255.255   Auf Verbindung    192.168.178.56    306

300000
OpenVPN Power User
Posts: 153
Joined: Tue May 01, 2012 9:30 pm

Re: default route redirect ignored.

Post by 300000 » Sat May 16, 2020 12:23 pm

you can use push block-outside-dns to all client so client must use dns from openvpn just try this into your server config

push " block-outside-dns "

Post Reply