What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

OpenVPN Client with Policy Routing and dnsmasq

virusmoere

New Around Here
Hi,

I have problems with dnsmasq while using policy routing on a VPN client.

Local net: 192.168.3.0/24
Client 1: Client to Astrill with Policy Routing applied
Client 2 Client to my other place (Sophos UTM9 appliance). 192.168.2.0/24

I have custom forwarding rules applied (server=/domain.bla/192.168.2.1 in dnsmasq.conf.add) for specific domains to resolve over my domain controller in remote location (Client 2).

If the Client 1 has policy routing active I cannot resolve those domains (on all hosts in local network). If it is disabled everything works fine.

Anything I forgot?


Routing table:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
1.2.3.4   ip1f1391fe.dyna 255.255.255.255 UGH   0      0        0 eth0
10.242.2.9      *               255.255.255.255 UH    0      0        0 tun12
1.2.3.4   *               255.255.255.255 UH    0      0        0 eth0
192.168.3.0     *               255.255.255.0   U     0      0        0 br0
192.168.2.0     10.242.2.9      255.255.255.0   UG    0      0        0 tun12
1.2.3.4     *               255.255.255.0   U     0      0        0 eth0
198.18.56.0     *               255.255.248.0   U     0      0        0 tun11
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         ip1f1391fe.dyna 0.0.0.0         UG    0      0        0 eth0

Thanks!
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top