The Locations of the Necessary Files
Remote Access Portal (On the Cloud):
- Remote Access Portal Directory: /pam/remote-access-portal
- Remote Access Portal Java File Location: /pam/remote-access-portal/rap-0.0.1-SNAPSHOT.jar
You can check its version by using sudo java -jar rap-0.0.1-SNAPSHOT.jar -v (with root privileges) command.
- Remote Access Portal Config Location: /pam/remote-access-portal/conf/application.properties
- Remote Access Portal Logs Location: /pam/remote-access-portal/logs/application.log
- Remote Access Portal Services’ Statuses Script Location: /pam/scripts/show_service_status.sh
You can check the statuses of nginx, pam-rap, and wireguard services by using the sss command.
- Remote Access Portal Service Location: /usr/lib/systemd/system/pam-rap.service
Nginx (On the Cloud):
- AWS Certificate using in Nginx Service Location: /etc/nginx/certs/cert.crt
The user should remove this certificate and add the user’s AWS certificate with the same name. After this change, the user should restart nginx service by using sudo systemctl restart nginx.service command.
- RSA Private Key location for Nginx Service: /etc/nginx/certs/cert.key
The user should remove this key and add the user’s key with the same name. After this change, the user should restart the nginx service by using sudo systemctl restart nginx.service command.
- Nginx Configuration File Location: /etc/nginx/nginx.conf
Wireguard: (On-Cloud and on-prem/on-PAM):
- Wireguard Configuration File Location:
- /etc/wireguard/wg-server.conf (on-cloud)
- /etc/wireguard/wg-client.conf (on-prem/on-PAM)