Only users with administration rights are allowed to change the preferences of the proxy service.
In the Node Instances section of the navigation, click the name of the node instance that runs the proxy service. Then, click the sub-navigation item Proxy Services. The tab Preferences is displayed initially. In section Preferences, you can change the preferences of the proxy service.
With Unix systems, the permission for starting up the Bridge will be denied due to the system's security policy, if
Changing the preferences, you can allow starting a proxy for ports below 1025 by the Bridge user.
To allow starting a proxy for ports below 1025, perform the following steps:
- Amend your sudo configuration as to allow the Bridge user to use sudo.
- In the Bridge, configure the proxy service as to run the proxy with sudo.
Amending the sudo Configuration
Add the following line to your sudo configuration (e.g. using visudo):
For Linux 64 bit it is:
<your Bridge user> ALL = (root:<name of the group>) NOPASSWD: SETENV:/opt/e2e_bridge_prog/apache-2.4.33/linux-64/bin/httpd
You have to specify the options NOPASSWD: and SETENV:. The path to httpd must match with your installation. The above is for Linux 64-bit and Apache 2.4.33.
For Linux 32 bit it is:
<your Bridge user> ALL = (root:<name of the group>) NOPASSWD: SETENV:/opt/e2e_bridge_prog/apache-2.4.33/linux-x86/bin/httpd
In case you get an error like sudo: sorry, you must have a tty to run sudo
, you need to disable the requiretty option (that means to allow the Bridge user to use non-interactive sudo).
Add the following line to your sudo configuration:
Defaults:<your Bridge user> !requiretty
Configuring the Proxy Service with the Bridge
In the navigation, select the Proxy Services. The Preferences tab is displayed.
- Stop the proxy service via the Bridge (see Starting and Stopping Proxy Services).
In the Preferences section, check the sudo checkbox. Enter your Bridge user in the User field and the group of the root user in the field Group.
Click Apply.
- Start the proxy service via the Bridge (see Starting and Stopping Proxy Services).