You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Zend Server User Guide > Tasks > Debugger > Working with Firewall Tunneling

Working with Firewall Tunneling

Tunneling is not available for MS Windows Operating Systems.

 

Tunneling provides a means to establish a persistent connection between Zend Studio and a remote server situated behind a firewall or NAT. After a firewall tunnel is created, instead of assigning more communication ports for the Debug / Profile Sessions with the remote server, all communication between Zend Studio and the remote server proceeds through the tunnel.

Note for Windows users:

Tunneling does not work when Zend Server for IBMi is installed on a Windows-based server. However, you can perform remote debugging to a machine behind a firewall as long as the correct ports are open on both ends.

The tunnel communication port should be used in the following circumstances:

  1. When debugging or profiling files on a remote server which is behind a firewall or other security device.

  1. Establishing communication between Zend Studio and Zend Server for IBMi when Zend Server for IBMi is running on a remote server which is behind a firewall or other security device. The communication between Zend Studio and Zend Server for IBMi facilitates the integration of Zend Server for IBMi event reporting capabilities with Zend Studio’s editing, debugging and profiling features, and makes it more effective.

To set up a tunneling connection, several configuration settings must be defined, both in Zend Studio and on your server's debugger. This can be done through Zend Server for IBMi , Zend Platform, Zend Core or your php.ini file.

Setting-up Tunneling in Zend Server for IBMi

The following procedure describes how to define allowed hosts for firewall tunneling. Users define allowed hosts for firewall tunneling to create a list of IP addresses (of computers that run Zend Studio) that connect to Zend Server for IBMi for debugging purposes, in situations when a firewall stands between the machines.

 

Before setting-up tunneling, verify that the IP of the machine running Zend Studio is set as an allowed host in Setup | Debugger.

Note:

The following instructions define how to configure Zend Server for IBMi's side for tunneling. Additional Zend Studio configurations are required to complete the process.

 

 

Instructions on how to complete a procedure

To define allowed hosts for firewall tunneling:

  1. In the Administration Interface, go to Setup | Debugger.

  2. In the "Allowed Zend Studio Clients for Debugging" section, enter a valid IP address or specify a range of IPs using Wildcards (*).

  3. From the drop-down list, select an option according to the type of IP address you entered. Click 'Exact IP address only' for a single IP, or one of the other options to represent a range of hosts.

  4. Click  to add the host.

  5. The changes are applied after clicking  Restart ServerRestart Server

The IP or range of IPs are now allowed to connect to the server through the firewall to debug PHP code with Zend Studio.

To remove a specific IP from the list, mark the check-box next to the IP and click Remove.

Make sure that you have not specified the IP in the "Denied Zend Studio Clients for Debugging" area.

Setting Up Tunneling in Zend Studio

In order to properly setup a tunnel connection to Zend Studio you have to configure Zend Studio to allow Zend Server for IBMi to establish a connection.

Zend Studio users should follow the instructions here - External Link

 

 

Related Links

Related Links:

Working with the Debugger

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.