rPi serving as OpenVPN Server - I can ssh but cant see LAN websites?

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
dustinarden
OpenVpn Newbie
Posts: 2
Joined: Sat May 21, 2016 2:56 am

rPi serving as OpenVPN Server - I can ssh but cant see LAN websites?

Post by dustinarden » Sat May 21, 2016 3:04 am

Hello and thanks in advance for anyone who can help.

I followed this guide https://github.com/pivpn/pivpn to setup my spare rPI as a OpenVPN server. It works and allows me to access both the pi and other linux systems that are in my LAN, remotely.

I cant however, browse internally hosted websites/WebGui's like I assumed i'd be able to - such as my routers WebGUI, and a few applications that I have hosted on my synology NAS (sickbeard, nzbget, etc)

I CAN ssh into both the router and the NAS once i'm connected to the VPN so it would appear as though traffic is being passed from the VPN network to the LAN network. I've tried various things but nothing seems to make this work.

Here is the server.conf

Code: Select all

cat /etc/openvpn/server.conf
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
server 10.8.0.0 255.255.255.0
# server and remote endpoints
ifconfig 10.8.0.1 10.8.0.2
# Add route to Client routing table for the OpenVPN Server
push "route 10.8.0.1 255.255.255.255"
# Add route to Client routing table for the OPenVPN Subnet
push "route 10.8.0.0 255.255.255.0"
# your local subnet
push "route 10.10.1.108 255.255.255.0"
# Set your primary domain name server address for clients
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
# Override the Client default gateway by using 0.0.0.0/1 and
# 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
duplicate-cn
keepalive 10 120
tls-version-min 1.2
tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
cipher AES-256-CBC
auth SHA256
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
#crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
log /var/log/openvpn.log
verb 1
# This configuration file was originally written by Lauren Orsini at ReadWrite.
I'm not sure what else I can show in order to help troubleshoot.

Thanks.

dustinarden
OpenVpn Newbie
Posts: 2
Joined: Sat May 21, 2016 2:56 am

Re: rPi serving as OpenVPN Server - I can ssh but cant see LAN websites?

Post by dustinarden » Sat May 21, 2016 3:34 am

nevermind ... this isnt an openvpn configuration issue.

This is a synology issue. after tweaking a few more settings in the router i was able to connect to the router GUI.

Feel free to delete the post!

Post Reply