Jump to content

Linux Using Ip Tables To Forward Webtraffic To Another Network.


slugman
 Share

Recommended Posts

I've got a redhat box (5.2) with two NIC;s installed.

I have it connected to a 128.172.0.0/16 network. (its a private network ) this is on interface eth0

on eth1 i have the network 192.168.254.0/24 which has a nice internet connection. Deafault gateway = 192.168.254.1.

so eth0 = 128.172.101.33

and eth1 = 192.168.254.105

I want to be able to point a computer to use 128.172..101.33 (eth0) as a proxy on port 8080 or somthing.

This server will have to NAT anything coming in on port 8080 on eth0 and redirect it out of eth1 interface so it can destin itself for the internet.

I am a fairly seasoned linux user.

Never been able to grasp IP tables though.

Could someone please just post the commands so i can get this done.

I would like some feedback too on documentation and stuff but i have some but its not sufficent.

thanks in advance

sluggerz...

Link to comment
Share on other sites

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.

 Share

  • Recently Browsing   0 members

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