[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
FREESCO Support • View topic - Firewall problems [Solved]
Page 1 of 1

Firewall problems [Solved]

PostPosted: Wed Nov 11, 2009 10:54 am
by Bettes
Hi,

I recently upgraded my server from etch to lenny. After that I was unable to connect to my apache server for connections coming from the internet :(
I start messing around and now i am not sure who is causing the problem. My freesco machine or something else.
The report is atttached


network topology

internet <===> modem/router <== 10.0.0.x ==> freesco <== 192.168.1.x ==> Lan <===> webserver (fixed ip)
<===> pc1


The freesco machine has a forwarding rule for trafic arriving at port 80 to port 80 of the webserver
If i connect to my webserver using pc1 it is working without a problem

If I connect to my freesco machine with ssh and start nmap on the eth0 interface (ip = 10.0.0.x) then i see that port 80 is filtered.
The freesco machine has still the original webserver and control panel working on port 81 and 82 and these port are shown as open.

So my question is : does freesco blocks port 80 or is the webserver rejecting the trafic ?

Re: Firewall problems

PostPosted: Wed Nov 11, 2009 1:10 pm
by Howler

Re: Firewall problems

PostPosted: Wed Nov 11, 2009 2:07 pm
by Bettes
Hi Howler,

Thanks for the reply.

I remembered that when things were working I only used tcp.
I have changed the forwarding rule but the problem remains the same :(

Re: Firewall problems

PostPosted: Wed Nov 11, 2009 6:32 pm
by phillipsjk256

Re: Firewall problems

PostPosted: Thu Nov 12, 2009 2:33 pm
by Bettes

Re: Firewall problems

PostPosted: Thu Nov 12, 2009 5:29 pm
by phillipsjk256

Re: Firewall problems

PostPosted: Thu Nov 12, 2009 5:57 pm
by Bettes

Re: Firewall problems

PostPosted: Thu Nov 12, 2009 6:25 pm
by phillipsjk256
I think I found the problem:

Your report.txt shows that your "public" IP address is 10.0.0.2. This is part of the 10/8 network range reserved for private networks. Did your edit the report.txt file to hide your "real" IP address? If your are getting Internet access from a neigbour or institutional network, they would have to forward port 80 as well (to your freecso box; 10.0.0.2)
Edit: :oops: Ok, now I see the modem/router in the diagram. Can you connect to your webserver from the 10.0.0.x network (using http://10.0.0.2)?

Trying to connect to the forwarded "public" IP address from the router is expected to fail. From the diagram I discerned that "PC1" was sitting outside your network getting its own IP.

I am not sure, but nmap showing port 80 as filtered is probably expected as well. The router is not listening on the port; it is routing packets on that port after "mangling" them.

192.168.1.5 is a new address. Same explanation as above, I guess.

Re: Firewall problems

PostPosted: Thu Nov 12, 2009 7:22 pm
by Lightning
I have not read this entire thread but from what I did read you are trying to port forward to an internal web server. Which according to your report.txt is configured correctly to do just that. However what I see is that your modem is also configured to do NAT and that is where the current problem exists. You have two options at this point. The first is to go into the modem control panel and also port forward port 80 to the router at 10.0.0.2 so that the router can also port forward to the internal server at 192.168.1.3
The second option is to reconfigure the modem in bridge or what ever mode it has mode so that it does not do any NAT and the router gets your true external public IP address. Which may also require the router to use the login and password negotiation.

Re: Firewall problems

PostPosted: Sun Nov 15, 2009 5:13 am
by Bettes
Hi all

Thanks for helping me with my problem. I finally found the reason why i couldn't connect to my server anymore.

Of course it was not a freesco problem !!!!
How could I ever doubt it :(

It turned out that my ISP provider Belgacom has blocked ports since 31/10/2009 due to an hacker attack.
And this without any notice to me.

You can read more in the helpcare of their portal :


So thanks a lot for your support !!!