Completing the Peer Key Exchange on the RPAM Connector
The RPAM Connector was installed before the RPAM Portal; therefore, its WireGuard configuration (/etc/wireguard/wg-client.conf) still contains a placeholder instead of the public key of the RPAM Portal. After the RPAM Portal installation is completed, go back to the RPAM Connector and set the key:
1. Open the RPAM MTC Installer of the RPAM Connector (http://{RPAM Connector IP}:8443). The "This host is already configured" page is shown.
2. Press Update peer key. On the Update Peer Public Key page, the This host's role field is selected automatically.
3. Leave the Primary peer public key field empty, enter the real/management IP address of the RPAM Portal (e.g., 10.20.40.116), and press Update. The key is fetched from the installer of the RPAM Portal and [email protected] is restarted automatically. Alternatively, paste the public key shown at the end of the RPAM Portal installation into the Primary peer public key field.
4. Wait until the "Done." message is shown.
In the failover scenario, repeat these steps on the backup RPAM Connector as well.
Check: Run the following commands on both the RPAM Connector and the RPAM Portal. The latest handshake field should be filled in, and the transfer line should show both received and sent data:
Linux CLI | [root@connector~]# wg show [root@connector~]# ping {RPAM Portal's WireGuard IP} [root@portal~]# wg show [root@portal~]# ping {RPAM Connector's WireGuard IP} |
|---|---|
Example | [root@connector~]# ping 10.0.0.1 [root@portal~]# ping 10.0.0.2 |
If the RPAM Portal is installed first instead, the same applies in the opposite direction: the public key of the RPAM Connector must be set on the /peer-key page of the RPAM Portal after the RPAM Connector installation (see Setting the Peer Public Key After Installation).