diff --git a/bash/nord/.allow_routing.sh.swp b/bash/nord/.allow_routing.sh.swp new file mode 100644 index 0000000..4539ec4 Binary files /dev/null and b/bash/nord/.allow_routing.sh.swp differ diff --git a/bash/nord/config.sh b/bash/nord/config.sh new file mode 100755 index 0000000..5e96a6b --- /dev/null +++ b/bash/nord/config.sh @@ -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 + diff --git a/bash/nord/connect.sh b/bash/nord/connect.sh new file mode 100755 index 0000000..c7142f8 --- /dev/null +++ b/bash/nord/connect.sh @@ -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" diff --git a/bash/nord/exit_node.sh b/bash/nord/exit_node.sh new file mode 100755 index 0000000..3348696 --- /dev/null +++ b/bash/nord/exit_node.sh @@ -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 diff --git a/bash/nord/list_online.sh b/bash/nord/list_online.sh new file mode 100755 index 0000000..591944f --- /dev/null +++ b/bash/nord/list_online.sh @@ -0,0 +1,7 @@ +#! /usr/bin/bash + +filter=${1:-online} + +echo $filter + +nordvpn mesh peer list --filter=$filter diff --git a/bash/nord/login.sh b/bash/nord/login.sh new file mode 100755 index 0000000..fe4290f --- /dev/null +++ b/bash/nord/login.sh @@ -0,0 +1,3 @@ +#! /usr/bin/bash + +nordvpn login --token e9f2abcc251e25317efb43eb05c4fe9a8771a1e7cc076b43ed59fe5ad9ba2115 diff --git a/bash/nord/logout.sh b/bash/nord/logout.sh new file mode 100755 index 0000000..965ab18 --- /dev/null +++ b/bash/nord/logout.sh @@ -0,0 +1,3 @@ +#! /usr/bin/bash + +nordvpn logout --persist-token true diff --git a/bash/nord/mesh.sh b/bash/nord/mesh.sh new file mode 100755 index 0000000..ce15dd0 --- /dev/null +++ b/bash/nord/mesh.sh @@ -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 diff --git a/bash/nord/status.sh b/bash/nord/status.sh new file mode 100755 index 0000000..fa2b5c5 --- /dev/null +++ b/bash/nord/status.sh @@ -0,0 +1,3 @@ +#! /usr/bin/bash + +nordvpn status