Linux – Tunnel Ethernet Packets over SSH

ethernetlinuxnetworkingsshssh-tunnel

I have two machines. My laptop and a machine in the local intranet. This machine has next to the network device (for the intranet) a second network card. I want to send raw ethernet frames out of this second device.

How can I tunnel from my local laptop onto this server and forward those packets on the right device?

Best Answer

EoIP would be on of the simplest thing to use, since you don't have to worry about encrypting the tunnel between the two systems. But you can also use veth, or tunnel over ssh, but with the ssh solution you'll need openssh 4.3+ .

Related Topic