Accessing Client's 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

Accessing Client's LAN

Post by Final9mare » Fri Mar 24, 2017 9:24 am

I rent a VPS server and have OpenVPN installed (10.8.0.0/24). I connected my home router to the OpenVPN as a client (192.168.1.0/24) and then I connected my Phone as a client as well. I am trying to ping my LAN network devices but I can't seem to get it to work. I tried following this guide https://www.secure-computing.net/wiki/i ... PN/Routing But it still doesnt work. Please help point me in the right direction! I also know I shouldnt be using 192.168.1.0/24 subnet but I am just trying to do testing before I switch the subnet. Thank you so much.

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
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
CCD file:

Code: Select all

ifconfig-push 10.8.0.2 255.255.255.0
iroute 192.168.1.0 255.255.255.0

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Accessing Client's LAN

Post by TinCanTech » Fri Mar 24, 2017 2:00 pm

Final9mare wrote: Please help point me in the right direction! I
Please see:
HOWTO: Request Help !

Post Reply