How to Enable TCP/IP Forwarding in Windows XP
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"IPEnableRouter"=dword:00000001
相當於 Linux 下的 sysctl -w net.ipv4.ip_forward=1
(echo 1 > /proc/sys/net/ipv4/ip_forward)