Changes

m
no edit summary
Line 64: Line 64:  
  PublicKey = Server’s public key
 
  PublicKey = Server’s public key
 
  AllowedIPs = IP addresses and networks you can want to access. In this example, we will add the VPN network and each peer’s LAN network.
 
  AllowedIPs = IP addresses and networks you can want to access. In this example, we will add the VPN network and each peer’s LAN network.
  Endpoint = Server’s IP with WireGuard port. In this example, client 3 is inside the server’s LAN network.  
+
  Endpoint = Server’s IP with WireGuard port. In this example, client #3 is inside the server’s LAN network.  
    
The configuration could look like this:<br>
 
The configuration could look like this:<br>
Line 91: Line 91:     
====Peer 2 configuration====
 
====Peer 2 configuration====
For client #2 the steps are the same. Remember that the public key will be different and the allowed IPs list will slightly differ compared to client 1 peer configuration.  
+
For client #2 the steps are the same. Remember that the public key will be different and the allowed IPs list will slightly differ compared to client #1 peer configuration.  
    
====Peer 3 configuration====
 
====Peer 3 configuration====
Line 98: Line 98:  
*Set the peer's '''Public Key'''. To find it go to the WireGuard software inside the PC. In the '''Interface section below''' the '''Status''' indicator, you will find the public key
 
*Set the peer's '''Public Key'''. To find it go to the WireGuard software inside the PC. In the '''Interface section below''' the '''Status''' indicator, you will find the public key
 
*Set the '''Endpoint host''' to the server’s public IP
 
*Set the '''Endpoint host''' to the server’s public IP
*In the '''Allowed IPs''' parameter add IP addresses and networks you can want to access. In this example, we will only add the client's WireGuard interface’s IP. We will not add its LAN network because client 3 is already inside the server’s LAN
+
*In the '''Allowed IPs''' parameter add IP addresses and networks you can want to access. In this example, we will only add the client's WireGuard interface’s IP. We will not add its LAN network because client #3 is already inside the server’s LAN
 
*Enable '''Route allowed IPs'''
 
*Enable '''Route allowed IPs'''
 
*Press [[File:Save apply button.png]]
 
*Press [[File:Save apply button.png]]

Navigation menu