Line 7: |
Line 7: |
| *Three RUTOS devices with different LAN networks | | *Three RUTOS devices with different LAN networks |
| *One RUTOS device will need to have a '''Public IP''' address | | *One RUTOS device will need to have a '''Public IP''' address |
− | *An end device with the ability to install, set up WireGuard client, and configure RUTOS devices | + | *An end device with the ability to install, set up WireGuard client, and configure RUTOS devices<br> |
− | *'''WebUI''' switched into '''Advanced''' mode
| + | '''Note:''' remember to switch the '''WebUI''' into '''Advanced''' mode. |
| | | |
| ==WireGuard instance creation== | | ==WireGuard instance creation== |
Line 25: |
Line 25: |
| *Set an IP address. For the '''server''' set '''10.0.0.1/24'''. For the '''clients''' set the IP to '''10.0.0.2/24 and higher'''. For example, client #1 – IP 10.0.0.2/24, client #2 – IP 10.0.0.3/24, and so on | | *Set an IP address. For the '''server''' set '''10.0.0.1/24'''. For the '''clients''' set the IP to '''10.0.0.2/24 and higher'''. For example, client #1 – IP 10.0.0.2/24, client #2 – IP 10.0.0.3/24, and so on |
| Below is an example of the server’s WireGuard interface:<br> | | Below is an example of the server’s WireGuard interface:<br> |
− | [[File:WG server interface.png|border|class=tlt-border]] | + | [[File:Wireguard server interface config example v1.png|border|class=tlt-border]] |
| | | |
| ==Peers Configuration== | | ==Peers Configuration== |
Line 54: |
Line 54: |
| | | |
| ===Client 3 configuration=== | | ===Client 3 configuration=== |
− | Firstly, ensure that you have downloaded and installed WireGuard client (https://www.wireguard.com/install/) for your PC. To create client #3 to server/peer configuration, follow these steps: | + | Firstly, ensure that you have downloaded and installed WireGuard client ([https://www.wireguard.com/install/ wireguard.com/install]) for your PC. To create client #3 to server/peer configuration, follow these steps: |
| *Launch the WireGuard software | | *Launch the WireGuard software |
− | *At the bottom of the left corner select '''Add Tunnel → Add empty tunnel…''' | + | *At the bottom of the left corner select '''Add Tunnel → Add empty tunnel…'''<br> |
| + | [[File:Wireguard client create new empty tunnel v1.png|border|class=tlt-border]]<br> |
| *In the configuration window add these settings: | | *In the configuration window add these settings: |
| Address = 10.0.0.4/32 | | Address = 10.0.0.4/32 |
Line 103: |
Line 104: |
| *Enable '''Route allowed IPs''' | | *Enable '''Route allowed IPs''' |
| *Press [[File:Save apply button.png]] | | *Press [[File:Save apply button.png]] |
| + | The configuration could look like this:<br> |
| + | [[File:Wireguard server to PC client peer v1.png|border|class=tlt-border]] |
| | | |
− | The final results could look like this:<br> | + | The final results of all the server's peers could look like this:<br> |
| [[File:Wireguard server to client all peers v2.png|border|class=tlt-border]] | | [[File:Wireguard server to client all peers v2.png|border|class=tlt-border]] |
| | | |