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

2 thoughts on “Windows: How to enable IP routing”

  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.

    1. 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

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.