What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

openVPN: no connection to my home network only to router?

qwyrp

Occasional Visitor
I've RT-68CU router with V378.51 Merlin and I've installed & configured openVPN.
All seems well because I can connect from my android phone to the router and the key-icon etc is showing. But when I'm trying to connect to a pc on my home-network, it won't find any. I checked my ip and instead of my home-ip I shows a different IP and therefor I think I'm not really on my home network. Before the asus router I had an Raspberry Pi configured as an openVPN server and it was possible to really connect to my home network

Here some questions:
  1. Is this VPN connection even safe?
  2. Is it even possible to really connect to my home network and if so could somebody please help me out?
 
I've RT-68CU router with V378.51 Merlin and I've installed & configured openVPN.
All seems well because I can connect from my android phone to the router and the key-icon etc is showing. But when I'm trying to connect to a pc on my home-network, it won't find any. I checked my ip and instead of my home-ip I shows a different IP and therefor I think I'm not really on my home network. Before the asus router I had an Raspberry Pi configured as an openVPN server and it was possible to really connect to my home network

Here some questions:
  1. Is this VPN connection even safe?
  2. Is it even possible to really connect to my home network and if so could somebody please help me out?

Please, post your OpenVPN server configuration either as screenshot or config.ovpn file.
 
Hereby my config.ovpn file:
client
dev tun
proto udp
remote demooij.ddns.net 1194
float
comp-lzo adaptive
keepalive 15 60
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----

-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind
 
Hereby my config.ovpn file:
client
dev tun
proto udp
remote demooij.ddns.net 1194
float
comp-lzo adaptive
keepalive 15 60
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----

-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind

This is client configuration. I've asked for server's one.
 
Okay sorry in TAB OpenVPN Servers i've exported "Export OpenVPN configuration file". Could you explain me how to do this exactly?
 
Okay sorry in TAB OpenVPN Servers i've exported "Export OpenVPN configuration file". Could you explain me how to do this exactly?
The function you used is to export the client config file. The server's one is
/tmp/etc/openvpn/server1/config.ovpn

So you have to ssh to the router and see the contents of this file. The other option is to go to the server's web gui configuration page and make a screenshot.

P.S. I have assumed that you are using "Server1". If you use "Server2" you should change the path above accordingly.
 
Okay thanks and hereby the config.ovpn
# Automatically generated configuration
daemon
server 10.8.0.0 255.255.255.0
proto udp
port 1194
dev tun21
comp-lzo adaptive
keepalive 15 60
verb 3
push "route 192.168.1.0 255.255.255.0"
duplicate-cn
ca ca.crt
dh dh.pem
cert server.crt
key server.key
status-version 2
status status

# Custom Configuration
 
How did you tried to connect to your PC on home LAN? By name or by IP address? The default TUN configuration does not allow to browse the home network, but should be able to see the PC's shares by \\<PC's LAN IP address>\sharename

***EDIT***

Did you read this: http://www.smallnetbuilder.com/othe...-up-and-using-openvpn-on-asus-routers?start=1
Especially the Step 5? There are some warnings about exporting the config file. You should export it AFTER configuring the DDNS and starting the server.
 
Last edited:
I tried it on both ways but both way's didn't work. I also expect the IP-adress of my home-lan but it's not
Are the settings correctly set?
 
What do you mean "I also expect the IP-address of my home-lan but it's not" ?
 
Before the router I was using openVPN on a Raspberry Pi (Ubuntu) en when I was connected and I check my IP it was always the IP of my home network
 
You'll be getting an IP address in the 10.8.0.x range as that's what the server is setup to deliver you.
You should still be able to access your LAN devices by IP address. If you enable the Respond to DNS and Advertise DNS to clients setting under the VPN Details Advanced settings you should be able to access them by name as well.
 
heu I don't know exactly what you mean by protocol? I'm using my cell phone in foreign countries to connect to my home-network and getting a Dutch ip and be able to watch Dutch online streams
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top