Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
nexdpi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
sysadmin
nexdpi
Commits
3f0e4e5e
Commit
3f0e4e5e
authored
Jul 16, 2021
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes
parent
c117d836
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
vpnctrl
vpnctrl
+1
-1
vpndown.sh
vpndown.sh
+1
-1
vpnup.sh
vpnup.sh
+1
-0
No files found.
vpnctrl
View file @
3f0e4e5e
...
@@ -6,7 +6,7 @@ import time
...
@@ -6,7 +6,7 @@ import time
setproctitle
(
"vpnctrl"
)
setproctitle
(
"vpnctrl"
)
TIMEOUT
=
20
TIMEOUT
=
35
VPNs
=
[
VPNs
=
[
"nordvpn.it"
,
"nordvpn.it"
,
...
...
vpndown.sh
View file @
3f0e4e5e
...
@@ -6,5 +6,5 @@ for IP in $(/usr/local/bin/vpn_needed ${NDPITABLE} list) ; do
...
@@ -6,5 +6,5 @@ for IP in $(/usr/local/bin/vpn_needed ${NDPITABLE} list) ; do
conntrack
-D
--src
=
$IP
conntrack
-D
--src
=
$IP
conntrack
-D
--dst
=
$IP
conntrack
-D
--dst
=
$IP
done
done
exit
0
vpnup.sh
View file @
3f0e4e5e
...
@@ -6,3 +6,4 @@ for IP in $(/usr/local/bin/vpn_needed ${NDPITABLE} list) ; do
...
@@ -6,3 +6,4 @@ for IP in $(/usr/local/bin/vpn_needed ${NDPITABLE} list) ; do
conntrack
-D
--src
=
$IP
conntrack
-D
--src
=
$IP
conntrack
-D
--dst
=
$IP
conntrack
-D
--dst
=
$IP
done
done
exit
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment