Mutli LAN routing issue

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
smifu
OpenVpn Newbie
Posts: 1
Joined: Sun Sep 13, 2020 6:14 pm

Mutli LAN routing issue

Post by smifu » Sun Sep 13, 2020 7:07 pm

Hey

I'm in desperate need of routing help here.

Image


So openVPN server is a midpoint for all the clients. Mainly i need to connect from Windows to the LAN devices behind a Remote router's.

How can i route the traffic properly?

Remote routers/windows get their IP from openvpn CCD files. I guess this is just some issue with routing, which i'm unable solve at this point.

Server Config

Code: Select all

# Different port for server
port 992
proto udp
dev tun


server 172.20.0.0 255.255.0.0

ca caserver.crt
cert server.crt
key server.key 
dh dh2048.pem
client-config-dir ccd
push "dhcp-option DNS 8.8.8.8"

#removed cert junk etc

user nobody
group nogroup

persist-key
persist-tun

status status.log
verb 3

client-to-client
keepalive 10 120
ping-timer-rem


route 172.20.1.1 255.255.0.0
route 172.21.53.0 255.255.255.0
route 10.0.53.0 255.255.255.0 
push "route 10.0.53.0 255.255.255.0 172.21.0.2 1"

300000
OpenVPN Super User
Posts: 240
Joined: Tue May 01, 2012 9:30 pm

Re: Mutli LAN routing issue

Post by 300000 » Thu Sep 17, 2020 4:22 pm

you need to draw again nobody understand what to conect to what? for every openvpn device it has virtual ip run on openvpn and real ip so without the full ip address of the device nobody can help you connect to multi lan , without log file there is no infor to know which go to which you need come back from start to do it again.

Post Reply