IP and CIFS on VPN

Status
Not open for further replies.

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
Hi
I successfully created a VPN connection to my NAS via this tutorial. I've setup everything the way it's said and used the OpenVPN client to connect to my NAS which in some points works fine. I've two differences in my setup though. To be more specific within the openvpn.conf file:

Instead of


push “route 192.168.0.0 255.255.255.0″

I entered

push "route 192.168.1.0 255.255.255.0"

and instead of

route 192.168.0.121 255.255.255.0 10.8.0.1

I entered

route 192.168.1.23 255.255.255.0 10.8.0.1

Now my problem is that I was assigned to the IP 10.8.0.6, which is actually wrong. I think I'm supposed to have something like 192.168.1.x because that's what all the devices in that particular network have. Right?


My 2nd problem is that I cannot access my CIFSs I've setup. It works fine when I am at home, but not via the VPN. Both the WebGUI of FreeNAS and SSH work fine, but all the other WebGUIs (Plex, couchpotato, sickbeard, transmission) don't and I can't access the CIFS. I've tried the mounted drive, the network (I cannot even see my FreeNAS server) and \\192.168.1.23, neither worked. So, how can I get it to work?

Also, is it normal that when I go to sites that show my IP I'm still shown my IP based on my current location? Just to confirm, I still surf the internet via my geographical location, but I can also access my homenetwork I connected to via the VPN, correct?
Thanks in advance

edit: Okay I figured out what the openvpn.config actually tells me. 192.168.1.23 (on my homenetwork) = 10.8.0.1 on my VPN network. I still have problems connecting to my plugin WebGUIs tho. How do I do that?
 
Status
Not open for further replies.
Top