General Page
Users need to manually to create additional WireGuard VPN peers, if they need to share access to their VM environment, or would like to connect from multiple systems at the same time
-
Follow the initial steps to enable VPN for a reservation VMware WireGuard VPN Access
-
Generate WireGuard public and private keys for each user
wg genkey | tee user2-privatekey | wg pubkey > user2-publickeyIfwgis not found, install it bysudo yum install wireguard-tools -
Go the router web interface https://192.168.253.1/wg/vpn_wg_peers.php from your VM bastion (Default username:
admin, password:< your bastion password from reservation page >) - Create a VPN peer for each user:
- Click
Add peer - Select
tun_wg0tunnel - Enter description (
User2for e.g.) - Enter a generated user public key
- Set
Allowed IPsto an unique address192.168.253.x/32 - Click
Save

- Modify your downloaded WireGuard config from reservation page
- Replace
AddressandPrivate Keywith your new values in[Interface]section
Example: ``` [Interface] PrivateKey = < new user generated private key > Address = < new user unique address > DNS = 192.168.253.1 [Peer] PublicKey = HLTSRKfAzLbnWTahvSbbtrbrbrutrtMwgUH9iU= AllowedIPs = 10.184.162.246/32, 10.241.106.184/32, 10.241.106.135/32, 192.168.252.0/24, 10.241.106.134/32, 10.184.162.198/32, 10.241.106.167/32, 10.241.106.176/32, 10.184.162.174/32, 10.185.220.3/32, 10.241.106.162/32, 192.168.253.0/24, 10.184.18.66/32, 10.241.106.161/32, 10.241.106.137/32, 10.184.162.221/32, 10.241.106.164/32, 10.241.106.185/32, 10.241.106.190/32 Endpoint = 169.60.19.194:31907 ``` - Share the new WireGuard config with your user
Was this topic helpful?
Document Information
Modified date:
19 February 2025
UID
ibm17159416