Re: iptables: forward port from eth0 to 127.0.0.1

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 06/10/04


Date: Thu, 10 Jun 2004 11:21:22 -0400


["Followup-To:" header set to comp.os.linux.admin.]
On Thu, 10 Jun 2004 00:10:28 GMT, Scott Dudley
  <scott@nospam.telesoft.com> wrote:
>
> Need some iptables help. How can I use iptables to redirect eth0 port
> 80 to 127.0.0.1? i.e. the service is bound only to 127.0.0.1 and I want
> to route inbound LAN traffic to same.
>
> Thanks.
What do you mean? 127.0.0.1 is the loopback interface. If you want
other machines on the LAN to see your web server, you bind it to the
eth0 address.

-- 
Simulations are like miniskirts, they show a lot and hide the essentials.
		-- Hubert Kirrman