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
930ca98c
Commit
930ca98c
authored
Oct 29, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable SNAT for ns4 when we have Prometey only
parent
b2c9239d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
both_provs.sh
router/both_provs.sh
+3
-0
only_prometey.sh
router/only_prometey.sh
+3
-0
No files found.
router/both_provs.sh
View file @
930ca98c
...
...
@@ -28,3 +28,6 @@ ip rule del to 85.143.133.46 lookup hop
ip rule add to 85.143.133.46 lookup hop
#./transmission.sh --no-alt-speed
# delete rule for ns4
iptables
-t
nat
-D
POSTROUTING
-o
inet2
-s
212.176.200.18
-j
SNAT
--to-source
91.232.225.1
router/only_prometey.sh
View file @
930ca98c
...
...
@@ -12,4 +12,7 @@ ip route replace default scope global table hop via 85.235.198.25
ip rule del from 91.232.225.62
&&
ip rule del from 91.232.225.62
ip rule add from 91.232.225.62 lookup prometey
# replace source for ns4 when we have no Ekvant
iptables
-t
nat
-A
POSTROUTING
-o
inet2
-s
212.176.200.18
-j
SNAT
--to-source
91.232.225.1
#./transmission.sh --alt-speed
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