Packets to same host as the VPN server dropped?

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
basinilya
OpenVpn Newbie
Posts: 4
Joined: Tue Jan 03, 2023 10:22 am

Packets to same host as the VPN server dropped?

Post by basinilya » Tue Jan 03, 2023 10:32 am

Hi. I'm running OpenVPN 2.5.7 on a router device and I'm trying to enable it only for some of my wireless devices.
To do that I've intentionally disabled pulling the routes from the VPN server and instead enabled a default route to a specific iproute2 table and created rules for the devices.
It was sufficient except the devices could not access a web site on the same host as the VPN server because I forgot to add a host route via the net_gateway to the same routing table: tcpdump on the client tun device shows that the packets are sent, but tcpdump on the server tun devices does not show anything. Is this a feature of OpenVPN? Is it configurable?

Post Reply