VPN routing to other subnet over LAN host as gateway

Started by oneict, December 10, 2019, 04:14:13 PM

Previous topic - Next topic
Hi,

We have the current setup:
LAN: 192.168.1.x
VOIPLAN: 10.0.10.x
Route to VOIPLAN via: 192.168.1.129 (L3 Switch Enterasys)

PC's in a LAN, IP telephones in VOIPLAN, when connected into the LAN we can open the telephone web interfaces on the VOIPLAN so the routing is working when in the LAN but not from VPN.

How can I get this route to work over VPN?
VPN Clients on: 10.0.7.x

VPN Server is pushing routes for both 192.x and 10.x network.
I can reach hosts on the LAN.
I tried a adding a firewall rule on OpenVPN accepting trafic and defining a specific gateway, no difference with having pass all.

Looking at the firewall when trying to connect to a host on 10.x shows pass, so it does not seem to block...

Tracert to an IP on the VOIPLAN shows it is going via the VPN 10.0.7.1 but then fails.

What am I missing?

Thanks in advance!

Kind regards
Johnny

I would try to add the OVPNS as tunnel interface, then on the pass firewall rules you can select the correct gateway to use
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet

What about a traceroute in the opposite direction? From a host in the VOIPLAN to a VPN client. Could it be an issue with the L3 "switch"?

Cheers

Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).