Skip to content
Snippets Groups Projects
Commit c1dc8a77 authored by Amna Snene's avatar Amna Snene
Browse files

tools: update readme

Change-Id: Ifb27b9a147d83c144adc996fcae83b123e08fbbc
parent 61ed8a10
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
**dsh** allows you to: **dsh** allows you to:
- Execute commands on remote peers in a DHT network. - Establish connections with peers and execute binaries on their side. Default binary: **bash**
- Establish connections with peers and execute binaries on their side.
### Options ### Options
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
- **Client-Server Model**: Supports both server and client modes for flexible deployment. - **Client-Server Model**: Supports both server and client modes for flexible deployment.
- **TUN Interface**: Implements a TUN interface for network communication. - **TUN Interface**: Implements a TUN interface for network communication.
- **VPN Security**: Ensures secure communication channels using cryptography and identity verification. - **VPN Security**: Ensures secure communication channels using cryptography and identity verification.
- **Configuration Flexibility** : Modify configuration settings and the setup script independently, avoiding the need to rebuild the entire project.. - **Configuration Flexibility** : Modify configuration settings and the setup script independently, avoiding the need to rebuild the entire project.
## Configuration ## Configuration
...@@ -39,12 +39,12 @@ Before using **dvpn**, follow these steps to update your configuration: ...@@ -39,12 +39,12 @@ Before using **dvpn**, follow these steps to update your configuration:
To run a dvpn server, you can use the following command: To run a dvpn server, you can use the following command:
```shell ```shell
sudo ./dvpn -l sudo ./dvpn -d <YAML_FILE> -l
``` ```
To connect to a dvpn server, you can use the following command: To connect to a dvpn server, you can use the following command:
```shell ```shell
sudo ./dvpn <server_identifier> sudo ./dvpn -d <YAML_FILE> <server_identifier>
``` ```
**Note**: **dvpn** requires sudo privileges to create and configure TUN interfaces on both the client and server sides. **Note**: **dvpn** requires sudo privileges to create and configure TUN interfaces on both the client and server sides.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment