How do I enable IP forwarding?

If you are using a routing-based VPN (dev tun) and you would like to configure your OpenVPN server or client to act as a VPN gateway for a LAN, you should enable IP forwarding. Also make sure that your network interface is in promiscuous mode.

On Windows 2000/XP, see this KB article.

On Linux, use the command:

echo 1 > /proc/sys/net/ipv4/ip_forward
Last Updated ( Tuesday, 22 March 2011 03:53 )