Try this:

http://netfilter.samba.org/unreliable-guides/NAT-HOWTO/NAT-HOWTO.linuxdoc-10
.html

----- Original Message -----
From: "Travis Crook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 4:41 PM
Subject: port forwarding in iptables


> Hello,
>     I hope I am not asking an already asked question but I can't seem to
> find the answer in the archives.
>     I am trying to forward all port 80 traffic from my firewall to my
> internal web server (192.168.2.5).  My firewall script seems to be
> working okay (it can be seen at
> http://orbital.wiretapped.net/~technion/iptables).  I have modified it
> to fit my numbers, etc.  My internal nic is eth1 and my external nic is
> eth0.  The internal web server that I am running  has a connection to
> the internet through the firewall plus it has an external connection of
> its own (2 nics, one connected to the LAN the other connected to the
> internet - separate from the firewall connection).  I have several Web
> sites running on it.  Most are talking through the external connection
> but one is set up on the internal connection.  I can't seem to get
> connections established to the internal address on the Web server when I
> make a request to it through the firewall.  I can connect to it when I
> type the ip address in from the internal network.  I have tried using a
> computer behind the firewall, the Web server itself, and a dial-up
> connection from my house to access the internal Web site but I cannot
> connect.      The reason I am attempting to do this is because I am in
> the process of switching access lines to the internet (from a shared T1
> to a dedicated DSL).  Any help would be greatly appreciated!
>
> Travis Crook
> Visions Beyond
>
>
>


Reply via email to