I installed openvpn 2.1 on my Windows Server 2008 R2. My server has 2 network adapter.

The first adapter connect to internet. (default gateway here)

The second adapter connect to lan network. ip subnet mask

Here is my server config:

port 1234
proto udp
dev tun
ca "ca.crt"
cert "server.crt"
key "server.key"  
dh "dh1024.pem"
ifconfig-pool-persist ipp.txt
push "route"
keepalive 10 120
status openvpn-status.log
verb 3

My server start properly, it got vpn ip:

My client connect through internet IP of server and connected and has ip

But i cant connect with orther computer in server lan network. Cant connect to any 10.11.11.x ip.

How can i config server for my client can connect to 10.11.11.x server lan network?


I think you should try to enable routing between both interfaces.

To do so :

Open the Windows registry and navigate to :


Then set the following registry value:

Value Name: IPEnableRouter
Value type: REG_DWORD
Value Data: 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.