how do I create a bidirectional bridge using iptables
Posted
by
Kolzoi
on Server Fault
See other posts from Server Fault
or by Kolzoi
Published on 2011-01-15T05:43:49Z
Indexed on
2011/01/15
5:55 UTC
Read the original article
Hit count: 215
Setup: I have a samsung LCD TV that is connected via eth0 to a T41 Thinkpad running Ubuntu 10.10 which is wirelessly connected to the home router.
I am trying to get Samsung's remote control app working on my iPad but the app won't allow me to put in an ip address and only discovers the tv if it's on the same subnet as the iPad (lame).
So I need the laptop to route packets from eth0 to the wireless interface (wlan0), and I need about 3 ports on the wlan0 interface to be forwarded to the samsung tv.
Hopefully all this makes sense. I've been messing around with iptables and samsung is now able to access internet via laptop wireless, but mapping from wlan0 back to the samsung tv is eluding me.
© Server Fault or respective owner