Hi Sammy !!

I think you have to allow connections to port 80 on your IP external !!!
Use ipchains !

Greetings !

> -----Original Message-----
> From: Samy Abbes [mailto:[EMAIL PROTECTED]]
> Sent: woensdag 6 maart 2002 16:20
> To: [EMAIL PROTECTED]
> Subject: connection refused with ipmasqadm portfw
> 
> 
> Hi everybody,
> 
> I have an internal host (192.168.0.7) running Apache on port 80.
> I want to forward connections from outside to the host my_firewall,
> tcp port 80, to this internal Apache server.
> 
> The firewall runs a 2.2.20 linux kernel, and
> I use the following commands which are accepted
> by my_firewall without any comment, and well listed
> with the command ipmasqadm portfw -l :
> 
> ipmasqadm portfw -f
> ipmasqadm portfw -a -P tcp -L $extip 80 -R 192.168.0.7 80
> 
> (here $extip is the external IP adress of my_firewall).
> 
> Now, when I try to connect to my_firewall through a browser by
> typing his IP adress $extip, it gives me the following message :
> "the connection was refused when attempting
> to contact $extip". I expected to be connected to 192.168.0.7 
> of course.
> 
> I also tryed the ipmasqadm mfw tool, combined with an ipchains
> command according to the man ipmasqadm,
> with exactly the same result.
>  And the echo "1">/proc/sys/net/ipv4/ip_forward does not change
> anything.
> 
> I absolutly have no idea of the reason of this connection refused.
> Can you help me ?
> 
> Thanks a lot,
> Samy


_______________________________________________
Firewalls mailing list
[EMAIL PROTECTED]
http://lists.gnac.net/mailman/listinfo/firewalls

Reply via email to