Skip to contentSkip to conversation

Iptables Port forwarding Problem

DISCUSSION rohit_linux 1 participant 1 message May 6, 2003

lore
Share & tools
lore
#0 lore raw

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 !