Jump to content

Ubuntu Iptables Question


Phil K.

Recommended Posts

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 by Phil K.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...