Windows machine as a router

ImWindows machine as a routeragine that you have your home network connected with your friend’s network using OpenVPN open source VPN solution. Your friend want to access your media server in your network to see pictures from the party, or access your game server running on your laptop. VPN is connected, but he is not able to reach your computer…

It’s because on your windows machine running OpenVPN server you didn’t enable routing, so windows machine is not acting as a router and all packets end on the OpenVPN server itself without being forwarded to your home network.

To enable routing functionality of your windows machine create in reg key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters value of type REG_DWORD IpEnableRouter =1. After reboot of the system it will act as router and start routing packets according to it’s routing table.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s