sockets and susefirewall2
From: andreas (kaaZoo@gmx.net)Date: 10/30/02
- Next message: : "Re: Systems behind NAT - port scanning etc."
- Previous message: : "Re: So what is the best???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: andreas <kaaZoo@gmx.net> Date: Wed, 30 Oct 2002 11:59:58 +0100
hallo ng,
i have a server, running on suse linux 8.0 with the iptables-script
susefirewall2. the maschine is connected via dsl to inet. all pcs in lan
are masqueraded and routed. no problem until here.
following services run on the server:
ftp, apache with php4, ssh, smtp, mysql
my problem:
a have php-scripts, that open a socket on port 80 on different webservers in
the inet. but this doesn't work.
it's not more than $fp = fsockopen ($host, 80);
i have tested the little script on many other servers, where it worked fine.
so it seems that this is not a problem of apache or php.
when i use ssh to login and type "lynx www.abcdef.de", lynx shows the page.
so why does the webbrowser get a connection to port 80 of other maschines
and php not?
can somebody help me please?
here the configuration of susefirewall2:
-----------------------------------------------------------
FW_DEV_EXT="ppp0"
FW_DEV_INT="eth1"
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_DEV="$FW_DEV_EXT"
FW_MASQ_NETS="0/0"
FW_PROTECT_FROM_INTERNAL="no"
FW_AUTOPROTECT_SERVICES="no"
FW_SERVICES_EXT_TCP="21 22 25 80 3306"
FW_SERVICES_EXT_UDP=""
FW_SERVICES_EXT_IP=""
FW_SERVICES_INT_TCP=""
FW_SERVICES_INT_UDP=""
FW_SERVICES_INT_IP=""
FW_TRUSTED_NETS=""
FW_ALLOW_INCOMING_HIGHPOINTS_TCP="yes"
FW_ALLOW_INCOMING_HIGHPOINTS_UDP="yes"
FW_FORWARD=""
FW_FORWARD_MASQ="0/0,192.168.0.1,tcp,4662"
FW_REDIRECT=""
- Next message: : "Re: Systems behind NAT - port scanning etc."
- Previous message: : "Re: So what is the best???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|