Accessing another vpn through Initial Vpn

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
offroadpete
OpenVpn Newbie
Posts: 1
Joined: Mon Sep 26, 2022 2:08 pm

Accessing another vpn through Initial Vpn

Post by offroadpete » Mon Sep 26, 2022 2:20 pm

Hello All.

I have been trying for months to get this to work and have not been able to. Im an amatuer with this FYI. At HOME, I have a Asus router that OpenVPN's to my WORK through TUN. I have various subnets at work, 10.10.10.0, 10.10.11.0, 10.10.1.0. All of which I can access from any computer on my HOME network due to routing I set up. I also have a OpenVPN SERVER at HOME which I use so I can connect my Laptop/cell phone to my HOME Network. HOME subnet is 10.10.15.0. I can access any computer on my HOME subnet when I connect with my laptop/cell phone.

What I am trying to do is get my Laptop/Cell phone to ALSO be able to access my WORK network through my HOME network. So I only have to vpn to one location. instead of constantly switching over between work/home vpn servers. However no matter what I do I cant seem to be able to vpn to my HOME network and be able to access my WORK network which has an always on connection to my HOME network.

This is my routing table at HOME:

HOME routing Table

10.4.10.9 * 255.255.255.255 UH 0 0 0 tun11
{WAN-BLOCKED FOR POSTING} * 255.255.255.255 UH 0 0 0 WAN
10.4.10.1 10.4.10.9 255.255.255.255 UGH 0 0 0 tun11
{WAN-BLOCKED FOR POSTING} * 255.255.255.0 U 0 0 0 LAN
10.10.3.0 * 255.255.255.0 U 0 0 0 tun21
10.10.1.0 10.4.10.9 255.255.255.0 UG 0 0 0 tun11
10.10.15.0 * 255.255.255.0 U 0 0 0 LAN
10.10.11.0 10.4.10.9 255.255.255.0 UG 0 0 0 tun11
10.4.10.0 10.4.10.9 255.255.255.0 UG 0 0 0 tun11
10.10.10.0 10.4.10.9 255.255.254.0 UG 0 0 0 tun11
{WAN-BLOCKED FOR POSTING} * 255.255.254.0 U 0 0 0 WAN
default {WAN-BLOCKED FOR POSTING} 0.0.0.0 UG 0 0 0 WAN



And this is the setup on my openvpn Client side file for my laptop/cellphone

server config

client
dev tun
proto udp
{WAN-BLOCKED FOR POSTING}
float
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
cipher AES-128-CBC
keepalive 15 60
auth-user-pass
remote-cert-tls server
route 10.10.10.0 255.255.255.255
route 10.10.11.0 255.255.255.255
route 10.10.1.0 255.255.255.255





What am I doing wrong?

Post Reply