Accessing local network through OpenVPN on both sides

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
OpenVpn Newbie
Posts: 1
Joined: Sat Oct 12, 2019 12:15 pm

Accessing local network through OpenVPN on both sides

Post by alma359 » Sat Oct 12, 2019 1:23 pm

I have the following setup:


I have web-servers running on Client 1 and Client 2. I want to have access to both web-servers from both Clients.
I added some routing in the Server(Rоuter 2) configuration and can now access Client 2 from Client 1 using the IP However I can't access Client 1 from Client 2. If I try to load I get nothing and if i try the OpenVPN Client IP I get the Router 1 login page, instead of Client 1 webpage. Is it possible to Access Client 1 from Client 2 ? Firewall of Client 1 is disabled.

This is my Server (Router 2) configuration: ... nHLme/view
Sorry it's in PDF, this router is running stock firmware and I can't get the config file.

And this is my Client configuration:
Client Config

proto udp
remote external-IP-of-Router2 4948
resolv-retry infinite
dev tun0
ca /etc/storage/openvpn/client/ca.crt
auth MD5
cipher none
auth-user-pass secret
redirect-gateway def1 bypass-dhcp
script-security 2
writepid /var/run/
up ovpnc.script
down ovpnc.script

### User params:
reneg-sec 3600
remote-cert-tls server
nice 0
verb 3
keepalive 15 60

User avatar
OpenVPN Protagonist
Posts: 6024
Joined: Fri Jun 03, 2016 1:17 pm

Re: Accessing local network through OpenVPN on both sides

Post by TinCanTech » Sat Oct 12, 2019 2:10 pm

Post Reply