Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
76ead71e
Commit
76ead71e
authored
Oct 08, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change default in hope table instead change all rules
parent
cdb700b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
19 deletions
+6
-19
both_provs.sh
router/both_provs.sh
+1
-1
only_ekvant.sh
router/only_ekvant.sh
+3
-9
only_prometey.sh
router/only_prometey.sh
+2
-9
No files found.
router/both_provs.sh
View file @
76ead71e
...
...
@@ -8,10 +8,10 @@ ip route replace default scope global table common via 212.176.192.226
ip route replace default scope global table hop nexthop via 212.176.192.226 weight 40 nexthop via 85.235.198.25 weight 60
# torrent client
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule add from 91.232.225.21 lookup hop
# de01
...
...
router/only_ekvant.sh
View file @
76ead71e
...
...
@@ -6,14 +6,8 @@ ip route replace default via 212.176.192.226
# Ekvant exports default to us, but we will repeat it
ip route replace default scope global table common via 212.176.192.226
# TODO: enable shaper for torrent and our remote backup servers
# remove hops for torrent client
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip route replace default scope global table hop via 212.176.192.226
ip rule del to 144.76.183.114 lookup hop
ip rule del to 144.76.183.114 lookup hop
# TODO: enable shaper for torrent and our remote backup servers
ip rule del to 85.143.133.46 lookup hop
ip rule del to 85.143.133.46 lookup hop
./slow_transmission.sh
router/only_prometey.sh
View file @
76ead71e
...
...
@@ -6,13 +6,6 @@ ip route replace default via 85.235.198.25
# Prometey does not export default route for us
ip route replace default scope global table common via 85.235.198.25
# remove hops for torrent client
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip route replace default scope global table hop via 85.235.198.25
ip rule del to 144.76.183.114 lookup hop
ip rule del to 144.76.183.114 lookup hop
ip rule del to 85.143.133.46 lookup hop
ip rule del to 85.143.133.46 lookup hop
./slow_transmission.sh
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