The Locations of the Necessary Files
1. RPAM MTC Installer (on every installed host)
- Installation package: rpam-mtc.tar.gz; installer directory: /pam/rpam-mtc
- Installation log: /pam/rpam-mtc/logs/rpam-installer.log
- Console/startup log: /pam/rpam-mtc/logs/rpam-installer-console.log
- Installation status and result files: rpam-installer.status, rpam-installer-result.json (in the installer directory)
- Uploaded tunnel setup file (MTC Inbound): uploads/tunnel_setup.txt (in the installer directory)
- Installer service file: rpam-installer.service (copied to /usr/lib/systemd/system/ when Method B is used)
- Bundled offline packages: files/ (files/bootstrap/rpms, files/wheelhouse, files/cloud/rpms, files/on-prem/rpms); RPAM Portal jar files: files/cloud/jars/rap-{version}.jar
- Local repository definition (offline mode): /etc/yum.repos.d/rpam-repo.repo
- Collection tools: tools/collect-rpms.sh, tools/collect-python-rpms.sh, tools/collect-pywheels.sh
- WireGuard keys of the host: /pam/wg-keys/privatekey, /pam/wg-keys/publickey
- Peer key helper: /pam/scripts/set-peer-key.sh (symlink: /usr/local/bin/set-peer-key)
2. RPAM Portal (on-cloud)
- RPAM Portal directory: /pam/remote-access-portal
- RPAM Portal java file location: /pam/remote-access-portal/rap-0.0.1-SNAPSHOT.jar (its version can be checked with the sudo java -jar rap-0.0.1-SNAPSHOT.jar -v command)
- RPAM Portal config location: /pam/remote-access-portal/conf/application.properties
- RPAM Portal logs location: /pam/remote-access-portal/logs/application.log
- RPAM Portal WireGuard private and public keys: /pam/wg-keys/privatekey, /pam/wg-keys/publickey
- RPAM Portal service location: /usr/lib/systemd/system/pam-rap.service
- Service status shortcut: sss (/pam/scripts/show_service_status.sh)
3. Nginx (on-cloud)
- Certificate used by the nginx service: /etc/nginx/certs/cert.crt
- RSA private key used by the nginx service: /etc/nginx/certs/cert.key
- Nginx configuration file location: /etc/nginx/nginx.conf
The user should replace cert.crt and cert.key with the user's own certificate and key using the same names. After this change, the user should restart the nginx service by using the sudo systemctl restart nginx.service command.
4. WireGuard (RPAM)
- RPAM Portal: /etc/wireguard/wg-server.conf (service: [email protected])
- RPAM Connector and On-PAM: /etc/wireguard/wg-client.conf (service: [email protected])
5. RPAM Connector routing
- Saved iptables rules: /pam/routing.table
- Routing restore script: /pam/restore.routing (runs every minute via cron)
6. Multi Tenant Connector
- Application directory: /opt/pam/connector
- Connector application log (on the Multi Tenant Connector): /opt/pam/connector/logs/log.txt
- Connector service: pam-connector.service
- WireGuard configuration file: /etc/wireguard/wg-vpn-{port-number}.conf (MTC Inbound also: /etc/wireguard/config.json)
- Tunnel setup log of MTC Inbound (on the Multi Tenant Connector): /opt/pam/connector/logs/connector.log
- Restricted CLI: /opt/pam/restricted_cli (shortcut: pam-cli)
- Connector installation log (on the Kron PAM Server): /pam/gui/logs/connector.log