sockets and susefirewall2

From: andreas (kaaZoo@gmx.net)
Date: 10/30/02


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=""



Relevant Pages

  • sockets and susefirewall2
    ... i have a server, running on suse linux 8.0 with the iptables-script ... the maschine is connected via dsl to inet. ... so why does the webbrowser get a connection to port 80 of other maschines ...
    (comp.os.linux.security)
  • Strange problem with network on OBSD 3.4
    ... I have some strange problem with my network and absolutely no idea what went ... inet alias x.x.x.y 0xffffffff NONE ... and connect the server from the outside, I also can ping and connect other ... that the connection works but after a while times out. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot connect client to server 2003
    ... you need to reconfigure the IP schema of your SBS ... On the SBS 2003 Server open the Server Management console. ... On the Connection Type page, click Broadband, and then click Next. ... Alternate DNS server, type the IP addresses that are provided by your ISP ...
    (microsoft.public.windows.server.sbs)
  • Re: Outgoing POP3 email missing/lost/not received
    ... ISP's mail server instead of the domain name on the ... SUMMARY OF SETTINGS FOR CONFIGURE E-MAIL AND INTERNET ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)