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
bd48eb2b
You need to sign in or sign up before continuing.
Commit
bd48eb2b
authored
Aug 03, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
router scripts: switch_to_youta, switch_back
parent
a2348450
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
switch_back.sh
router/switch_back.sh
+11
-0
switch_to_yota.sh
router/switch_to_yota.sh
+14
-0
No files found.
router/switch_back.sh
0 → 100755
View file @
bd48eb2b
#!/bin/sh -x
sysctl net.ipv4.ip_default_ttl
=
64
HOST01PROV
=
85.235.198.26
SEVEREN
=
81.24.122.57
ip route del
$HOST01PROV
ip route add
$HOST01PROV
via
$SEVEREN
serv openvpn reload
router/switch_to_yota.sh
0 → 100755
View file @
bd48eb2b
#!/bin/sh -x
# hack
sysctl net.ipv4.ip_default_ttl
=
65
ifup enp0s18f2u3
HOST01PROV
=
85.235.198.26
YOTAUSB
=
192.168.48.254
ip route del
$HOST01PROV
ip route add
$HOST01PROV
via
$YOTAUSB
serv openvpn reload
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