/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */

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





_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to