From: "rohit_linux" Subject: Iptables Port forwarding Problem Date: Tue, 06 May 2003 14:32:31 +0530 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200305060817.NAA07652@WS0005.indiatimes.com> Reply-To: "rohit_linux" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MAILER_ATTACH_BOUNDARY1_2003562143231719885386" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org --=_MAILER_ATTACH_BOUNDARY1_2003562143231719885386 Content-Type: text/plain; charset=us-ascii Hi Friend's I need help on Iptables port forwarding . i configured my linux box with 2 nic's OS Redhat 8.0 iptables enabled. eth0=x.x.x.x.x/255.255.255.252(Live IP)(external interface)on which site is hosted . eth1=192.168.0.120/255.255.255.0(internal interface) Used gSheild package for firewalling. PORT 80,25 are forwarded to internal lan machine 192.168.0.1 from outside i can access my WebServer and Mailing services. but LAN machines are not able to access the webservices scenario is like 192.168.0.10 ------>x.x.x.x:80 ------->192.168.0.1:80 i get the error "(111) Connection refused" so friend's i need your help on this. Rohit Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com Bid for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now ! --=_MAILER_ATTACH_BOUNDARY1_2003562143231719885386 Content-Type: text/html; charset=us-ascii

Hi Friend's

I need help on Iptables port forwarding .

i configured my linux box with 2 nic's

OS          Redhat 8.0

iptables enabled.

eth0=x.x.x.x.x/255.255.255.252(Live IP)(external interface)on which site is hosted .

eth1=192.168.0.120/255.255.255.0(internal interface)

Used gSheild package for firewalling.

PORT 80,25 are forwarded to internal lan machine 192.168.0.1

from outside i can access my WebServer and Mailing services.

but LAN machines are not able to access the webservices

scenario is like

192.168.0.10 ------>x.x.x.x:80   ------->192.168.0.1:80

i get the error

"(111) Connection refused"

so friend's i need your help on this.

Rohit


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !
--=_MAILER_ATTACH_BOUNDARY1_2003562143231719885386--