Phil K. Posted April 11, 2011 Posted April 11, 2011 (edited) Hey guys, I have an Ubuntu box that is connected to 2 different networks thru wlan0 and eth0. I was looking for a way to automatically forward a specific port thru wlan0. eth0 ( 10.13.37.0 ) / linux_box -> \ wlan0 ( 192.168.1.0 ) port x goes thru here. (i.e. port 80) I googled the subject and found you need to use IP tables. I found ( http://ubuntuforums.org/showthread.php?t=159661 and https://help.ubuntu.com/community/IptablesHowTo ) but I still don't quite understand these commands. I was wondering if someone would be able to give me a template for what I need and/or point me in the right direction if iptables is not the way to go. thank you in advance, Phil Edited April 11, 2011 by Phil K. Quote
Mr-Protocol Posted April 11, 2011 Posted April 11, 2011 (edited) Brush up on advanced networking, man iptables. I'm not sure off hand how to do it, but it's better to learn how yourself :P. http://linux.die.net/man/8/iptables read through that, hopefully you will be able to determine the right path. Edited April 11, 2011 by Mr-Protocol Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.