How do I bridge connections in Debian?

Posted by Josh on Super User See other posts from Super User or by Josh
Published on 2012-12-15T17:26:56Z Indexed on 2012/12/15 23:07 UTC
Read the original article Hit count: 202

Filed under:
|
|

In windows I can select Local Area Connection and Wireless Network Connection, right click and select Bridge Connections

How can I achieve the same effect in Linux? (Debian to be exact)

Pretty much I want Computer B to connect to Computer A via ethernet cable. Well Computer A is connected wirelessly. Allowing Computer B to get on the internet.

== UPDATE ==

I've enabled IP forwarding and used the following iptables command:

iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE

I'm still unable to access the internet from Computer B though.

© Super User or respective owner

Related posts about linux

Related posts about networking