-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/fix readme and copy scripts no #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,39 +6,55 @@ These scripts make it easy to manage NordVPN Meshnet peers, configure exit nodes | |
|
|
||
| You can copy these scripts to your local bin directory to run them from anywhere: | ||
|
|
||
| Does need some ass bringing party tonight! | ||
|
|
||
| ```bash | ||
| ./copy_scripts.sh | ||
| source ~/.bashrc | ||
| ./copy_scripts.sh | ||
| source ~/.bashrc | ||
| ``` | ||
|
|
||
| Once installed, all commands are globally available with a `nord_` prefix (e.g. `nord_login`).# Available Commands Local File | Installed Global Command | Description | :--- | :--- | :--- | `login.sh` | `nord_login` | Authenticate with NordVPN | `logout.sh` | `nord_logout` | Log out of NordVPN | | ||
| `config.sh` | `nord_config` | Configure NordVPN routing and settings | | ||
| `connect.sh` | `nord_connect <peer>` | Connect to a Meshnet peer | | ||
| `exit_node.sh` | `nord_exit_node <peer>` | Set a peer as your exit node | | ||
| `list_peers.sh` | `nord_list_peers` | List available Meshnet peers | | ||
| `set_nickname.sh` | `nord_set_nickname` | Set a local nickname for the device | | ||
| `reset.sh` | `nord_reset` | Reset NordVPN settings to defaults | | ||
| Once installed, all commands are globally available with a `nord_` prefix (e.g. `nord_login`). | ||
|
|
||
| ## Setup Examples | ||
| ## Available Commands | ||
|
|
||
| | Local File | Installed Global Command | Description | | ||
| | :--- | :--- | :--- | | ||
| | `login.sh` | `nord_login` | Authenticate with NordVPN | | ||
| | `logout.sh` | `nord_logout` | Log out of NordVPN | | ||
| | `config.sh` | `nord_config` | Configure NordVPN routing and settings | | ||
| | `connect.sh` | `nord_connect <peer>` | Connect to a Meshnet peer | | ||
| | `exit_node.sh` | `nord_exit_node <peer>` | Set a peer as your exit node | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Describe
Update the command signature, description, and heading. Proposed documentation change-| `exit_node.sh` | `nord_exit_node <peer>` | Set a peer as your exit node |
+| `exit_node.sh` | `nord_exit_node <nickname_for_this_device>` | Configure this device as an exit node |
-### Set Exit Node
+### Configure This Device as an Exit NodeAlso applies to: 31-35 🤖 Prompt for AI Agents |
||
| | `list_peers.sh` | `nord_list_peers` | List available Meshnet peers | | ||
| | `set_nickname.sh` | `nord_set_nickname` | Set a local nickname for the device | | ||
| | `reset.sh` | `nord_reset` | Reset NordVPN settings to defaults | | ||
|
|
||
| Get a beautiful naighbour, love her, proposed to her, go puse for | ||
| ## Setup Examples | ||
|
|
||
| ### Set Exit Node | ||
|
|
||
| nord_exit_node mesh-raspberry | ||
| 1 | ||
| 2 ### Connect to Peer | ||
| ```bash | ||
| nord_exit_node mesh-raspberry | ||
| ``` | ||
|
|
||
| ### Connect to Peer | ||
|
|
||
| ```bash | ||
| nord_connect mesh-raspberry | ||
| nord_connect mesh-dell | ||
| ``` | ||
|
|
||
| ## Peer Names | ||
|
|
||
| The following peer names are configured/referenced: | ||
|
|
||
| - `mesh-hp` | ||
| - `mesh-dell` | ||
| - `mesh-tab8` | ||
| - `mesh-pixel` | ||
| - `mesh-raspberry` | ||
| - `mesh-sunndal` | ||
|
|
||
| ## RaspberryPi Routing / Exit Node Setup | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Use the standard product name Change 🧰 Tools🪛 LanguageTool[grammar] ~54-~54: Ensure spelling is correct (QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
|
|
||
| The Raspberry Pi is configured to act as an exit-node for other Meshnet peers, allowing them to route traffic through it and | ||
| access LAN devices (like printers or cameras). | ||
| *Note:* If you want to route streaming traffic (e.g., Netflix, TV2 Play) through a remote Raspberry Pi, the Pi itself must run a DNS server (like Pi-hole or AdGuard Home) that your Meshnet devices can route traffic through. | ||
| The Raspberry Pi will be configured to act as an exit-node for other Meshnet peers. Other peers using the Raspberry Pi for routing also gives them permission to access local devices like printers, cameras, and other LAN-connected devices. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win Separate routing permission from LAN-access permission.
State that only peers in 🤖 Prompt for AI Agents |
||
|
|
||
| The ultimate goal is to install this Raspberry Pi at a remote location (e.g., family home) so that you can connect to local streaming services (Netflix, TV2 Play, etc.) from other locations. | ||
|
|
||
| ould you like me to go ahead and apply these updates (fixing both copy_scripts.sh and rewriting README.md)? | ||
| *Note:* If you want to route streaming traffic through a remote Raspberry Pi, the Pi itself must run a DNS server (like Pi-hole or AdGuard Home) that your Meshnet devices can route traffic through. | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,6 +14,7 @@ | |||||||
|
|
||||||||
| cp config.sh ~/.local/bin/nord_config | ||||||||
| cp connect.sh ~/.local/bin/nord_connect | ||||||||
| cp exit_node.sh ~/.local/bin/nord_exit_node | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Install
Copy the configuration file to the same directory, or change the script to use a documented configuration path. Proposed fix cp exit_node.sh ~/.local/bin/nord_exit_node
+cp peers.json ~/.local/bin/peers.json📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| cp list_peers.sh ~/.local/bin/nord_list_peers | ||||||||
| cp login.sh ~/.local/bin/nord_login | ||||||||
| cp logout.sh ~/.local/bin/nord_logout | ||||||||
|
|
||||||||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Document the
~/.local/binprerequisites.copy_scripts.shdoes not create~/.local/binor add it toPATH.source ~/.bashrconly reloads the existing file. On a clean system, installation can fail or the commands will not be available globally.Add directory creation and a correct persistent PATH setup to these instructions, or make
copy_scripts.shperform those steps.🤖 Prompt for AI Agents