Share openVPN connection

Posted by Douglas Gemignani on Server Fault See other posts from Server Fault or by Douglas Gemignani
Published on 2010-05-31T20:21:04Z Indexed on 2010/05/31 20:23 UTC
Read the original article Hit count: 1013

Filed under:
|
|

Hello,

Currently I have a server (dev tun) running openVPN and my WinXP client is able to connect to the server just fine. I have an ethernet device and I need to send data to a computer under the server's network, so since the device can't connect on its own I need to configurate my Windows XP to share its VPN connection.

So, on my WinXP machine i have:

Network Adapter #1 (ip 192.168.0.2 gw 192.168.0.1 with internet access).

OpenVPN Connection (dhcp).

Network Adapter #2 (crossover cable with device).

Here is my client.ovpn

cert gertec.crt

key gertec.key

client

ns-cert-type server

user nobody

group nobody

remote IP PORT

ca ca.crt

dev tun

dev-node OpenVPN

proto udp

resolv-retry infinite

nobind

comp-lzo

verb 3

I would appreciate any help.

© Server Fault or respective owner

Related posts about vpn

Related posts about connection