DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-25 00:26:13

crs2027
Member
Registered: 2008-10-14
Posts: 46

OpenVPN

Greets to all,

Sorry for creating a new topic regarding OpenVPN, other topics are a bit technical and I just need a few things clearing up if anyone would to be so kind..

I seem to have done what I considered the 'hard part' and got the certificate keys in place.

My situation is that I have my network running a DNS-323 with the local IP address of 192.168.1.200 connected to a router (local IP of 192.168.1.1) with the Port 1194 forwarded to 192.168.1.200.  My network currrently has 2 computers (both = VISTA) and both the computers can correctly see each other and the NAS shares.

The "outside" remote computer is a Windows XP machine connected to the internet through a wifi adsl modem.

I have installed OpenVPN and the keys on to the remote windows xp computer and it reports that it is connected with the IP address of 10.10.0.6

I'm unsure what to do now from the remote windows xp computer, am I supposed to be able to just click the network and see all the computers and the shares even though it has a completely different IP address?  I'm hoping thats how it works, when it works smile

I am unable to ping the remote machine from either computers currently on the network, and unable to ping the computers from the remote machine.

I'm guessing something is wrong with one of the config files so I will post the contents of them below (its basically copied from another user's post on this board).

Thanks for any help!!

Offline

 

#2 2009-01-25 00:30:51

crs2027
Member
Registered: 2008-10-14
Posts: 46

Re: OpenVPN

SERVER CONFIG

Code:

local 192.168.1.200
port 1194
proto udp

dev tun0

ca /mnt/HD_a2/openvpn/keys/ca.crt
dh /mnt/HD_a2/openvpn/keys/dh1024.pem

cert /mnt/HD_a2/openvpn/keys/server.crt
key /mnt/HD_a2/openvpn/keys/server.key

server 10.10.0.0 255.255.255.0

push "route 10.10.0.0 255.255.255.0"
push "dhcp-option DNS 10.0.0.1"

client-to-client
duplicate-cn

keepalive 10 120

comp-lzo

max-clients 5
persist-key
persist-tun

CLIENT CONFIG

Code:

client

dev tun

proto udp

remote <*****> 1194

resolv-retry infinite

nobind

persist-key
persist-tun

ca d:/apps/openvpn/ca.crt
cert d:/apps/openvpn/client1.crt
key d:/apps/openvpn/client1.key
comp-lzo
verb 3

Offline

 

#3 2009-01-29 16:06:54

crs2027
Member
Registered: 2008-10-14
Posts: 46

Re: OpenVPN

Not too many folk using their DNS-323 as a OpenVPN Server?

I will do some more testing to see if I can get somewhere with it, but I have never set up a VPN before.

I just thought I would bump this just incase someone can contribute with their experience smile

Thanks!

Offline

 

#4 2009-03-06 22:37:25

PaulS
New member
Registered: 2009-03-04
Posts: 2

Re: OpenVPN

Hi

I'm doing the same - in terms of connecting the remote XP machine to the VPN tunnel - in XP you need to go to mycomputer and map (tools / map network drive) the VPN port to a drive - in the 'folder box' put something like:-

\\10.8.0.2\Volume_1  (or whar ever the reported VPN IP address is)

and it should connect.

That said, I have it working from an XP machine to the DNS - but currently failed to do the same with a remote vista PC.

Hope this helps.

Paul S

Offline

 

#5 2009-03-07 20:04:46

crs2027
Member
Registered: 2008-10-14
Posts: 46

Re: OpenVPN

Hi PaulS,

Thanks a lot for your reply!, I will give that a go and let you know my results.

So while that should allow the remote PC to access the NAS, is it not possible for the remote PC to see the other PC's on the same network as the NAS too?

Cheers.

Offline

 

#6 2009-03-13 17:40:05

qryptiq
Member
From: New Ro
Registered: 2009-03-10
Posts: 49

Re: OpenVPN

CRS2027

I'm most interested in VPN solution!!! please continue to share your findings here. And please make them simple. I just browsed thru OPENVPN How-to and got really lost - heeeeheee.

In theory, you are correct - you should be able to see the other pc's. Have you tried START/RUN/ and enter \\pc-name ?

Thanks

Last edited by qryptiq (2009-03-13 19:04:07)


~~~~~~~~~~~~~~~~~~~
DNS-321, 2x1.5tb Barracudas

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB