Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added bash/nord/.allow_routing.sh.swp
Binary file not shown.
21 changes: 21 additions & 0 deletions bash/nord/config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#! /usr/bin/bash

nordvpn set notify on
nordvpn set autoconnect on NO
nordvpn set pq off
nordvpn set lan-discovery on
nordvpn set meshnet on
nordvpn set technology nordlynx

# Set nickname
nordvpn meshnet peer remove NordDell
nordvpn meshnet set nickname NordDell

# Auto-accept files shared from peers
nordvpn meshnet peer fileshare allow hp
nordvpn meshnet peer auto-accept enable hp
nordvpn meshnet peer fileshare allow Pixel
nordvpn meshnet peer auto-accept enable Pixel
nordvpn meshnet peer fileshare allow Tab8
nordvpn meshnet peer auto-accept enable Tab8

7 changes: 7 additions & 0 deletions bash/nord/connect.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /usr/bin/bash

# Assign the NO country code if there is no argument
country=${1:-NO}

echo "Connecting to country code $country"
nordvpn connect "$country"
4 changes: 4 additions & 0 deletions bash/nord/exit_node.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /usr/bin/bash

# You must explicitly grant permission for other devices to route through it.
nordvpn meshnet peer allow-exit-node set terje.innerdal@gmail.com
7 changes: 7 additions & 0 deletions bash/nord/list_online.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /usr/bin/bash

filter=${1:-online}

echo $filter

nordvpn mesh peer list --filter=$filter
3 changes: 3 additions & 0 deletions bash/nord/login.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /usr/bin/bash

nordvpn login --token e9f2abcc251e25317efb43eb05c4fe9a8771a1e7cc076b43ed59fe5ad9ba2115
3 changes: 3 additions & 0 deletions bash/nord/logout.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /usr/bin/bash

nordvpn logout --persist-token true
11 changes: 11 additions & 0 deletions bash/nord/mesh.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#! /usr/bin/bash

nordvpn set meshnet on

# Set nickname
nordvpn meshnet peer remove dellnord
nordvpn meshnet set nickname dellnord

# Auto-accept files shared from peers
nordvpn meshnet peer fileshare allow hpnord
nordvpn meshnet peer auto-accept enable hpnord
3 changes: 3 additions & 0 deletions bash/nord/status.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /usr/bin/bash

nordvpn status