Routing out from Server to rest of subnet

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
WARVPN
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 10, 2021 5:48 pm

Routing out from Server to rest of subnet

Post by WARVPN » Sun Jan 10, 2021 5:58 pm

Hi all,

I have setup a separate CA and OpenVPN Server on Debian 9 and I am able to establish a VPN tunnel from an internet connected client successfully.

Normally I can do a push route to tell the client where to go however I cannot seem to make that work due to some network complications, let me explain:

The OVPNServer is virtual and tagged on VLAN 99, the hypervisor it is sat on is also tagged on VLAN 99.

My goal is to have a client VPN in and be able to access a share on the hypervisor but I cannot figure out how to make that happen, here is a rough diagram of the setup

[Client (10.10.10.6)]-----[internet]---[L3 router]--[L2 switch]----VLAN 99-----[Hypervisor (192.168.99.50) With Guest OVPNServer (192.168.99.60)]

I am lacking the skills to figure out how to get the client on 10.10.10.0 to be able to access the 192.168.99.0 subnet

even if I push this route as part of the server configuration the client cannot see the hypervisor and i'm not sure why,

Can anybody see where I am going wrong?

Thank you for any assistance

Post Reply