Page 1 of 1

configure open vpn file

Posted: Tue Jan 18, 2011 11:24 am
by gogi100
i would test open vpn and i installed in the virtual box window xp pro, windows 2003 (it will be open vpn server) and windows 2003 (it will be local lan). my configuration wil be

LAN-client WINDOWS 2003 192.168.3.2
|
OpenVPN-server WINDOWS 2003 (2 NETWORK ADAPTER 192.168.3.1 AND 192.168.1.1)
|
Internet (VIRTUAL INTERNET- THIS IS THE SAME SUBNET 192.168.1.0)
|
OpenVPN-client WINDOWS XP 192.168.1.1

I installed open vpn server on windows 2003 and configure sample.opnvpn
like
dev tun
ifconfig 192.168.0.5 192.168.0.6
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
on open vpn client windows xp i configured file like
remote 192.168.1.1
dev tun
ifconfig 192.168.0.5 192.168.0.6
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key

problem is connection doesn't work. what i do?
i don't understand what do the desktop client work? i have undestand that the role of client work same installation with config file in c:\program files\openvpn\config?
plz help me
thanks

Re: configure open vpn file

Posted: Tue Jan 18, 2011 12:57 pm
by gladiatr72
Hello,

The first thing I would suggest is to go through this document: http://openvpn.net/index.php/open-sourc ... howto.html and configure your test environment as per its description.

Afterwards, if you still are having issues, please feel free to ask questions--the more specific the better. There is also a sticky post at the top of the forum index that specifies what information to provide to get the best results.

Good luck, and welcome to OpenVPN :D

Regards,
Stephen

Re: configure open vpn file

Posted: Wed Jan 19, 2011 11:00 am
by gogi100
i used documentation on page http://openvpn.net/index.php/open-sourc ... ml?start=1 and i configured the point to point vpn. on side vpn server config file is

Code: Select all

remote 192.168.1.2
dev tap
ifconfig 10.3.0.1 255.255.255.0
secret key
ping 10
verb 3
mute 10
on side the roadwarrior or client config file is

Code: Select all

remote 192.168.1.1
dev tap
ifconfig 10.3.0.2 255.255.255.0
secret key
ping 10
verb 3
mute 10
the connection work ok. i make route on client route add 192.168.3.0 mask 255.255.255.0 10.3.0.1
and when i ping address 192.168.3.1 on vpn server all is ok, but when i ping windows 2003 192.168.3.2 in local lan the ping doesn't work. what i do?

Re: configure open vpn file

Posted: Fri Jan 21, 2011 3:32 pm
by gladiatr72
It sounds like you don't have a return route for your VPN client subnet. On the system that is the default gateway for your 2003 system, you need to add a static route to the effect of: to access 10.10.3.0/24 send packets to the internal address of the openvpn server.

If the openvpn server is your server-side default gateway, make sure your firewall is not interfering with your ability to pass traffic between the vpn client net and your internal network.

-Stephen