Can't access LAN

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
Final9mare
OpenVpn Newbie
Posts: 7
Joined: Sat Mar 11, 2017 11:43 pm

Can't access LAN

Post by Final9mare » Sat Mar 11, 2017 11:46 pm

I have my router acting as a client connected to my VPS running OpenVPN now I am trying to access my LAN behind my router when I connect another client to the VPS but I cant seem to see any of my devices. I tried to follow this guide https://community.openvpn.net/openvpn/w ... edLans#no1 but it is not working and I am also getting IP routing conflict when I connect my router with these settings.

server.conf:

Code: Select all

port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
#push "redirect-gateway def1 bypass-dhcp"
route 192.168.1.0 255.255.255.0
push  "route 10.8.0.0 255.255.255.0"
push  "route 192.168.1.0 255.255.255.0"
client-to-client
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
client-config-dir /etc/openvpn/ccd
my ccd file

Code: Select all

ifconfig-push 10.8.0.2 10.8.0.1
iroute 192.168.1.0 255.255.255.0
Any help would be appreciated. Thank you!

Post Reply