OpenVPN on Windows

Intro

Here's how to manage a OpenVPN server under Windows 7 host. We will enable routing in order to contact the 10.0.0.50 computer.

Network diagram

OpenVPN Server configuration

Push route

push "route 10.0.0.0 255.255.255.0"

Enable routing on Windows

REG add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v IPEnableRouter /t REG_DWORD /d 0 /f
net start RemoteAccess
REG add "HKLM\SYSTEM\CurrentControlSet\services\RemoteAccess" /v Start /t REG_DWORD /d 2 /f

Windows Client configuration

Add route

route add 10.8.0.0 MASK 255.255.255.0 10.0.0.50
Licence Creative Commons
This website http://shebangthedolphins.net is licensed to the public under a licence Creative Commons Attribution licence.
Contact :