Advanced configurations

Last modification: September 2026. Version: 2.01

Pandora RC saves its parameters in a file named pandorarc_agent.conf whose location varies depending on the operating system used.

Configuration file location

Linux

/etc/pandorarc/pandorarc_agent.conf

To be able to modify this file, administrator (root) privileges are required.

Mac OS

/usr/local/pandorarc_agent/pandorarc_agent.conf

To be able to modify this file, administrator (root) privileges are required.

MS Windows

%ProgramFiles%\pandorarc_agent\pandorarc_agent.conf

To modify this file, it is necessary to run Notepad as an administrator (right mouse button → run as administrator).

Agent management

To make any configuration changes to the agent, it must be restarted with root or administrator rights.

  • On Linux® (root):
systemctl start pandorarc_agent_daemon
  • On MS Windows® (administrator):

Control Panel → Administrative Tools → Services → Pandora RC Agent → Restart.

  • On Mac OS® (root):
launchctl start com.pandorarc.pandorarc_agent

General Agent parameters

Agent password

Optionally, a different agent connection password can be specified for each machine. This password is specified -in clear text, unencrypted- in the agent's configuration file, in the following configuration token:

password xxxx

Once the agent is restarted, the password will be encrypted using a hash of this type:

password [[db6f086273f8c93e57808dafef45eae6ae67ae639eb34b6a6|]]

This behavior is normal and is similar for other configuration tokens that may contain sensitive information (user and password for proxy access, etc.).

Session expiration time

The Pandora RC WEB client remains connected to the agent as long as the browser session is kept open and there is a connection. If you leave the session open and unused, the session on that computer will be locked until you close it.

To avoid this, the agent has an automatic disconnection mode (timeout) due to inactivity that is configured by default to 300 seconds. This behavior can be changed by modifying the following configuration token:

session_timeout 300

Agent connectivity settings

The design goal of Pandora RC is for the agent to be accessible wherever it is, even in complex topologies with poor connectivity. To achieve this, there are some configuration tokens that regulate how the agent connects to the server.

The agent periodically checks that the connection is still active (even if it appears to be connected): This is known as a keepalive. You can regulate how many seconds this is performed if you think it can improve the agent's behavior in the face of power outages, etc.:

ping_interval 300

In addition, the general network timeout can be modified, to lower or raise it based on specific needs. The default is 5 seconds:

timeout 5

There are two advanced parameters that should be handled with caution: These are the ones that regulate the maximum payload size and the maximum block size (both are specified in bytes):

max_payload_size 131072
block_size 16384

Proxy use

The Pandora RC agent connects to a Pandora RC server on the Internet through port 18080, if it cannot connect, the agent can (optionally) be instructed to try a connection through a proxy.

To do this, it is necessary to edit the agent configuration file (in administrator mode) and use the following configuration tokens, specifying the IP address and port of the HTTP proxy that the agent will use.

The proxy must support the CONNECT method.

proxy_address 127.0.0.1
proxy_port 3186

Sending information from the remote system

By default, the Pandora RC agent sends a small summary of the computer where it is installed (Disk, RAM, CPU, OS version, etc.). If for privacy reasons you do not want to send this information, you can disable it with the following configuration token:

disable_info 0

Local connection against the agent

There is an (optional) mode that allows the agent to listen on a local IP address and port and allow incoming connections directly from the Pandora RC client. Although the connection is local, the Pandora RC agent will always contact the Pandora RC server on the Internet to validate the client's connection (user and password) and grant access, in addition to the agent's local authentication, if any.

prc_local_port 41118

The agent will try to find out which is the most appropriate IP address to listen to, and it will be the one it “publishes” on the portal for the client to connect. Generally, this will be the IP address through which it connects to the server. If it does not detect it well or you prefer to enter it manually, you can use the following configuration token:

prc_local_address 192.168.50.2

Keep in mind that when using this connection mode, you will notice a substantial improvement in speed, especially in the remote desktop and file transfer. On the contrary, you will also need the communication between the client and the remote client to be clear of obstacles such as corporate or local firewalls. In the case of MS Windows® or Linux®, this port number will have to be enabled in the firewalls installed by default on each operating system.

When an agent has local connection mode, the machine can be accessed directly, using a modification of the interface that allows choosing between remote connection or direct connection.

Due to security restrictions of the Web Socket protocol to be able to make the local connection, you will have to do it exclusively from the Google Chrome®, Mozilla Firefox® or Microsoft Edge® web browsers. This connection mode is not supported with Safari® or MS Internet Explorer®.

Connection with SSL certificates

For the local connection to be secure and reliable, it is possible to point the agent to a valid SSL certificate file (by a CA recognized by the browser to be used). This must be configured manually using the following configuration tokens:

prc_local_cert /full_path/to_public_ssl_cert
prc_local_key /full_path/to_private_ssl_key

The files must be in PEM (OpenSSL) format.

Connection without SSL certificates: Chrome

Right-clicking will display a dialog informing that we are attempting to load unauthorized scripts. You must click on “Load unsafe scripts”.

Connection without SSL certificates: Firefox

In the case of Mozilla Firefox®, the general browser settings must be modified. In a new tab, type: about:config. There is a warning that the settings are for advanced users, click on Accept the Risk and Continue.

Search for the token network.websocket.allowInsecureFromHTTPS and click on the button to change to the opposite value, true.

This change is permanent. It will not be necessary to change the configuration again in subsequent browser sessions.

Configure file transfer

The agent allows specifying a directory from which files can be uploaded and downloaded. This base directory is specified in the configuration file using the token storage_dir.

  • Linux®:
storage_dir /home
  • MS Windows®:
storage_dir C:\ProgramData\pandorarc_agent

On MS Windows®, if you want to access all system drives, this parameter can be set with the value /.

Log files

The agent can store in a text log (log file) information about its status, incoming connections, problems, etc. To do this, the log_file token must be activated (it is commented out by default).

  • Linux®:
log_file /var/log/pandorarc_agent.log
  • MS Windows®:
log_file 'C:\ProgramData\pandorarc_agent\pandorarc_agent.log'

You can also modify how much information to dump to this file with the following configuration token:

verbose x

Where X can be a numerical value from 0 to 9. A value of 0 is minimum information, and a value of 9 is maximum debugging information.

The agent does not control the size of the log, so if it is configured to return maximum information, it can generate a very large log.

Agent reprovisioning

If for whatever reason, you need to reprovision the agent, follow these steps:

  • Stop the agent.
  • Delete from the configuration file the configuration tokens: prc_hash and prc_key and start the agent again. It should be provisioned again with a different EKID.

Enable/Disable file deletion

You can disable (enabled by default) the functionality to delete files from the remote file manager. To do this, use the following configuration token:

enable_file_delete 0

Hide application icon

You can disable (it is enabled by default) the Pandora RC agent service running the desktop notification application. This program shows its icon in the notification area (tray area). To do this, use the following configuration token:

hide_tray 1

The value 1 causes the application not to run and therefore the icon is not seen. The default value is 0.

Pop-up warnings for access

There is an optional feature that allows the user who is using the computer to receive a notification to inform or request confirmation of external access. This is especially critical to comply with certain legal regulations regarding remote access to computers. By default it is disabled, but to activate it, it is enough to activate certain configuration tokens.

This feature is not implemented on Linux®.

It can be configured individually to regulate how each service is accessed (remote desktop, file transfer, process management, service management, share access, remote shell) and it also serves to disable the use of one of those services in case you do not want it to be available.

The possible values for these configuration elements are:

  • Request: The user will be asked to accept the incoming connection, via a pop-up window. This window has a timeout, and if the connection to the service is not explicitly accepted, access will be denied.
  • Inform: It will only inform the user. If the user does not see it or clicks the button that they have seen it, the remote user will enter anyway.
  • Always: The remote user enters without the local user having to authorize or see any pop-up message. This is the default value
  • Disable: The service will not be available in any case.
access_display always|request|inform|disable
access_files always|request|inform|disable
access_processes always|request|inform|disable
access_services always|request|inform|disable
access_share always|request|inform|disable
access_terminal always|request|inform|disable

On the other hand, the configuration element that defines the timeout of the confirmation window is:

access_dialog_timeout 30

The default value is 30 seconds. This timeout cannot be greater than the client's keepalive refresh time, which is 60 seconds.

To use a customizable popups system, you must load an external DLL:

access_method 'C:\path\to\dll'

This is what the “Information” screen looks like:

And when the configuration “forces” the local user to confirm the connection, the information shown is the following:

Dual screen

On MS Windows® systems that have more than one screen, the agent will automatically try to detect the main screen. In case you want to use another screen or both screens at the same time, you will have to modify the agent's configuration file:

display_selected X

Where X:

  • The value -1 shows all screens.
  • The value 0 (default) will show the main screen.
  • The value 1 shows screen No. 1 (the second one, in most cases).
  • The value 2 and onwards will show the corresponding screen, if there are more.

Server balancing

Starting with version 1.1.0, the Pandora RC agent can automatically request a new server from the directory before each connection attempt. To enable this feature, add the following line to the agent's configuration file:

prc_balancing 1

←Return to Pandora RC documentation index