Question summary :
1) What are the required exact firewall settings to succeed in remote debugging ?
2) On top of the GUI, can I access to more detailed logs in order to understand why it's not working ?
3) Do Eclipse PDT integrated Zend Studio need a localhost server for being able to receiving the remote server messages ?
Hum I'm aware this is a pure noob question and may mixing firewall and routing issues or missing a configuration point in the Zend Debugger.
So I apologize in advance.
I read quite carefully this thread above as well as the detailed installation
sticky notes and some notes about the SmoothWallExpress firewall settings like
this,
that and
those but still could not answer to my point on my own (after reading and trying too..).
So here is what I'd like to achieve with SWE3.0 but I could not succeed till now.
Actually I doubt if it's possible with SWE "only" or if I shall use additionnal strategy/tools.
0)
Zend Debugger and Eclipse PDT/ZendStudio Debug and PHP server SettingsI assume now the settings are correct as I just followed the sticky notes and get a pretty similar result.
Anyway I detailed them
here.
1)
NETWORK CONFIGURATIONNetwork :
ISP => DMZ => RED / SWE (subnet 0) => ORANGE (subnet 1) , GREEN (subnet 2).
all machines are running under various Linux OS.
GREEN :
Several machines but 1 machine (called "
A") set up with Eclipse PDT (ie including Zend Studio Open Source), aiming to debug local code from
GREEN to a remote server located on LAN (
ORANGE), and another one on the WAN (so exiting through RED).
ORANGE :
Several machines but 1 (called "machine "
B") hosting a web server that I would like to develop and debug remotely from
GREEN. This server is running Apache 2.2, PHP5.3.2 and Zend Debugger v5.2. Machine "
A" is allowed to access the web server and zend debugger by the Apache and PHP configuration setup.
REDlet say some home machines (wife, children, gran'ma..)
2)
NEED TOFrom the previous post, I understand the following :
a)
GREEN : "any ports" allowed from machine "
A" to
ORANGE machine "
B" on port 80
b)
ORANGE: "any ports" allowed from machine "
B" to
GREEN machine "
A" port 10137 (ie zend debugger return)
c)
External WAN IP identified machines (let's call them machine "
C") shall be able to access the
ORANGE Machine "
B" and getback informations on their port 10137.
I don't think this is a routing issue anyway I still doubt whether I should "route add" these on top of allowing these routes.
Could you pls confirm what firewall ports are needed to access :(I mean that "any" is not a real satisfactory response, as I can't translate it into a configuration action)
3)
TRIED TO31)
Trying to port forward between
GREEN and
ORANGE using the Web interface :
Incoming Rules:
Green subnet1 : High Ports range =>
Orange machine
B : port 80
Orange machine
B : High ports =>
Green Machine
A : port 10137
Result:
not workingMachine
A Eclipse Test debugger msg: no connectivity from debugger to client machine A
Machine
B Apache Error logs : [Zend Debugger] Cannot connect to host "machine A"
32)
Trying to open pinholes between the 2 subnets GREEN and ORANGE
SWE documentation is saying :
The standard configuration, without any pinholes setup, is as follows:
Green can talk to purple and orange
Purple can talk to orange
Orange can talk to nothing
By default all interfaces can talk to red and the Internet. This will depend, of course, on how you configure outgoing filtering.
From these assessments, I understand I shall also allow Orange to talk with Green and allow GREEN/ORANGE to get out on ports 80 and High Ports, adding the following rules to the previous ones :
Outgoing Rules :
Green:High Ports range allowed to exit
Green:Web Ports allowed to exit
Orange:High Ports allowed to exit
Result:
not working, no more effect than the previous rules setInternal Rules :
Orange to
Green on port 10137
Result:
still not working even if there the connection between machine B and machine A looks now establishedMachine
A Eclipse Test debugger msg: Success
Machine
B Apache Error logs :[Zend Debugger] Cannot send message
33)
Revert to the only effecting rules, ie INTERNAL pinholes between the 2 subnets GREEN and ORANGE
Removing step by step all other rules (Incoming and Outgoing) does not change anything in the results of that kind of design of experiment.
Adding an additional rule, symetric of the single remaining rule like :
Green to
Orange on port 10137
Result:
still not working even if there the connection between machine B and machine A looks now established and Machine B Apache server looks now happyMachine
B Apache Error logs : no more msg "[Zend Debugger] Cannot send message"
Conclusion of this long assessments :
For sure I'm missing some points as it's still not working.
Any experience on a similar configuration would be more than appreciated.
Thx in advance