How to forward connection from one interface to another under linux

Posted by Daniel on Server Fault See other posts from Server Fault or by Daniel
Published on 2010-03-23T13:52:54Z Indexed on 2010/03/24 7:43 UTC
Read the original article Hit count: 267

Filed under:
|
|

Hi, I have linux box which has two network interface, eth0, eth1. from eth1 I can access an internal website, say under port 8080. from outside the box, I can't access that network. my question is, is there a way I set up something so from outside the box, there appears to be a web server running in port 8080 and when I connect to it, it automatically forwards to eht1 the internal site? I tried to enable ip forward and add a static route, but it doesn't work. thanks.

© Server Fault or respective owner

Related posts about linux

Related posts about iptables