Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
railgun-routing-client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
railgun-routing-client
Commits
498cb67d
Commit
498cb67d
authored
Jan 01, 2017
by
zh99998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a9da39eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
db.coffee
db.coffee
+3
-0
start.sh
start.sh
+1
-1
No files found.
db.coffee
View file @
498cb67d
...
...
@@ -60,5 +60,8 @@ module.exports =
servers
[
21
].
next_hop
=
8
servers
[
22
].
next_hop
=
8
servers
[
23
].
next_hop
=
8
when
6
regions
[
0
].
gateway
=
5
regions
[
1
].
gateway
=
9
done
()
callback
servers
,
regions
start.sh
View file @
498cb67d
...
...
@@ -23,7 +23,7 @@ echo 'iptables...'
envsubst < iptables-rules | iptables-restore
if
[
-n
"
${
RAILGUN_TOS
}
"
]
;
then
iptables
-t
mangle
-A
PREROUTING
-s
10.0.0.0/1
6
-p
tcp
-m
addrtype
!
--dst-type
LOCAL
-m
tos
--tos
${
RAILGUN_TOS
}
-j
TPROXY
--on-port
5000
--on-ip
0.0.0.0
--tproxy-mark
0x3
iptables
-t
mangle
-A
PREROUTING
-s
10.0.0.0/1
2
-p
tcp
-m
addrtype
!
--dst-type
LOCAL
-m
tos
--tos
${
RAILGUN_TOS
}
-j
TPROXY
--on-port
5000
--on-ip
0.0.0.0
--tproxy-mark
0x3
fi
echo
'strongswan hack'
...
...
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