I have setup OpenVPN on Win2K12R2 on AWS. I want MyOffice LAN network to be accessible from MyHome PC.

See the diagram

Client Subnet -
MyHome Subnet -
MyOffice Subnet -

I will connect from MyHome to OpenVPN Server and also connect MyOffice to OpenVPN Server. Once this connection is successful i want to communicate with other devices in MyOffice LAN from MyHome.

Both Client Config

dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
ca "C:/Program Files/OpenVPN/keys/ca.crt"
cert "C:/Program Files/OpenVPN/keys/client-Myxxxx.crt"
key "C:/Program Files/OpenVPN/keys/client-Myxxxx.key"
remote-cert-tls server
cipher AES-256-CBC
verb 3
mute 20

Server Config

port 1194
proto udp
dev tun
ca "C:/Program Files/OpenVPN/keys/ca.crt"
cert "C:/Program Files/OpenVPN/keys/server.crt"
key "C:/Program Files/OpenVPN/keys/server.key"
dh "C:/Program Files/OpenVPN/keys/dh2048.pem"
ifconfig-pool-persist ipp.txt
push "route"
client-config-dir ccd
push "route"

Kindly suggest.

1 Answer 1


You have to make sure your office PC has a static vpn 10.8.0.x IP (use ccd directory for this, although generally pool persist should be ok).

You have to allow IP forwarding on your office PC (depends on OS how you do that).

Then create a route for that has your office PC VPN IP as gateway (not you VPN server!)

client-to-client is enabled so you should ok


Create a file in your ccd directory having name of your office pc client name

In this file add this line:


You can see more info about this on the following page


  • Hi, Thanks for the response. Yes MyOffice PC have static IP and MyHome PC have I have already enabled IP Forwarding from registry on both machines, both are Windows. Where do i have to create a route for GW ? Yes, client-to-client is enabled. Kindly Suggest
    – Danish
    Jun 17, 2017 at 21:23
  • Edited my answer Jun 18, 2017 at 6:13
  • Hi, When i have edited the push route as per above i get message "Route: Waiting for TUN/TAP interface to come up..." and at last "MANAGEMENT: >STATE:1497793023,CONNECTED,ERROR,,xxx.xxx.xxx.xxx,1194,,". Tunnel Comes up but when i route print there is no route for network.
    – Danish
    Jun 18, 2017 at 13:41
  • I edited my answer again to explain another solution. (remove the office IP from your push route that I suggested on the previous answer) Jun 18, 2017 at 15:24
  • Hi, Yes i had did the same and it was not working earlier. May be due to the file had .txt in extension. Later i removed extension of the file and its working now. However i still have push route in place. I also see very high latency almost 600ms. I have very high bandwidth at all the nodes. Is it due to encryption in place ?
    – Danish
    Jun 18, 2017 at 17:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .