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
0e3077c8
Commit
0e3077c8
authored
Jul 05, 2021
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flush conntrack when apply route rules
parent
511c17c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
route_add
usr_local_bin/route_add
+5
-0
route_remove
usr_local_bin/route_remove
+4
-0
No files found.
usr_local_bin/route_add
View file @
0e3077c8
...
...
@@ -34,4 +34,9 @@ if [ x"$table" != "no" ] ; then
fi
fi
conntrack
-D
--src
=
$1
conntrack
-D
--dst
=
$1
exit
0
usr_local_bin/route_remove
View file @
0e3077c8
...
...
@@ -6,4 +6,8 @@ for table in nordvpn.it nordvpn.us rain; do
done
ipset del tor_ip
$1
>
/dev/null 2>&1
||
true
ipset del block_ip
$1
>
/dev/null 2>&1
||
true
conntrack
-D
--src
=
$1
conntrack
-D
--dst
=
$1
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