Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

ethernet tunnels with OpenSSH

Subject: ethernet tunnels with OpenSSH
Date: Wed, 21 Mar 2007 23:25:27 +0100
Hello,

I've a problem with the ethernet tunnel feature of recent OpenSSH versions.

With a layer 3 tunnel all things are working great. Here is my setup:

A client with OpenSSH has one interface and is connected to an OpenSSH server. These server isn't the gateway of a network (but in another network than the client), so it has only one ethernet card. I can use an IP tunnel without problems. All is running fine on Linux with the tun interfaces. But I would like to use a layer 2 tunnel.

If I run on the client

ssh -o Tunnel=ethernet -w 0:0 server

the tap devices are created by OpenSSH.

On the server I've typed

brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
ifconfig br0 10.1.1.1

and then on the client I can see the ethernet broadcasts on the tap0 interface! But, the client can't use these network, because on the server the requests don't sent in to the network. I've seen on the server ARP broadcast requests from the client, but no answers.

I haven't found examples for layer 2 tunnels with OpenSSH.

I'm happy abount any helpful hint

Thanks in advance

Micha

<Prev in Thread] Current Thread [Next in Thread>
  • ethernet tunnels with OpenSSH, Micha Borrmann <=