Windows: How to enable IP routing

Hi,

its not recommended, but Windows can act as a IP Router.

To enable routing set

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\IPEnableRouter to 1:

c:\>reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v IPEnableRouter /D 1 /f

change the startup type of the service “Routing and Remote Access” to auto

sc config RemoteAccess start= auto

and start the service

sc start RemoteAccess

Thats it

Michael

Advertisment to support michlstechblog.info

Add a comment »2 comments to this article

  1. This isn’t it, I’ve seen several articles and they all have you do this but what none of them talk about is configuring the router. I’ve set to see someone say how you can enable this.

    Reply

    • Hi Stu,

      what do you mean with “but what none of them talk about is configuring the router” ? => You have to add static, persistent rules with route add.

      Michael

      Reply

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress