If you would like to turn a Linux machine into a router or a VPN server you will need to enable the IP Forwarding (aka routing) functionality as a first step. This functionality requires you to have at least 2 Ethernet interfaces connected to different networks or subnets.