Routing question, I really need help :-(

Ask questions about your Access Server configuration here.
Post Reply
Evil1
OpenVpn Newbie
Posts: 2
Joined: Sat Mar 03, 2018 8:54 pm

Routing question, I really need help :-(

Post by Evil1 » Sat Mar 03, 2018 9:01 pm

Background:

"Home subnet" 192.168.1.0/24 (OpenVPN server runs here)
"Remote subnet" 192.168.8.0/24 (OpenWRT router)
"VPN subnet" 10.8.0.0/24 (assigned to remote subnet users from OpenVPN server)
"Tethered" 192.168.42.0/24 (IP range assigned from tethered mobile)*
* I assume the "Remote subnet" routes through "Tethered" ->Interent
===============================================================================
NB. Remote subnet accesses the Internet via a mobile 4G connection (tethered)
===============================================================================

When the VPN connection is established from "Remote subnet" <-> "Home subnet", then "Home subnet" CAN ping 10.8.0.0/24 VPN clients and access the web interface on 10.8.0.2 (the VPN assigned address of 192.168.8.1 (OpenWRT gateway)) but cannot access the remote routers local LAN IP address of 192.168.8.1).

"Remote subnet" cannot ping clients on "Home subnet"
"Home subnet" cannot ping clients on "Remote subnet"


This is getting complicated and I am getting lost!

I would like to be able to access ALL clients on 192.168.8.0/24(Remote subnet") from 192.168.1.0/24("Home subnet") when a VPN connection from 192.168.8.0/24("Remote subnet") is established.

"This would allow me to retire the reverse SSH tunnels I have in place"

Optionally it would be great if I could get two way communication between the subnets.

Any advice, greatfully received.

Evil1
OpenVpn Newbie
Posts: 2
Joined: Sat Mar 03, 2018 8:54 pm

Re: Routing question, I really need help :-(

Post by Evil1 » Mon Mar 05, 2018 1:05 pm

it's just the routing from the "home subnet" to the "Remote subnet" that I need to sort. I am lost as to where I need to add the route for this?

192.168.8.0/24 -> 10.8.0.0/24 (Remote subnet) to (VPN subnet) -WORKS
192.168.8.0/24 -> 192.168.1.0/24 (Remote subnet) to (Home subnet) -WORKS

192.168.1.0/24 -> 10.8.0.0/24 (Home subnet) to (VPN subnet) -WORKS
192.168.1.0/24 -x 192.168.8.0/24 (HOME subnet) to (Remote subnet) - DOES NOT WORK

Post Reply