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
effb1aff
Commit
effb1aff
authored
Aug 21, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
router: add update_z-i-stop.sh
parent
e93d3bb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
switch_to_yota.sh
router/switch_to_yota.sh
+1
-1
update_z-i-stop.sh
router/update_z-i-stop.sh
+13
-0
No files found.
router/switch_to_yota.sh
View file @
effb1aff
...
...
@@ -6,7 +6,7 @@ sysctl net.ipv4.ip_default_ttl=65
# TODO: disable default route, DNS
ifup enp0s18f2u4
HOST01PROV
=
85.235.19
8.26
HOST01PROV
=
85.235.19
2.189
#YOTAUSB=192.168.48.254
# see INET_IP_YOTA in /etc/rc.d/rc.firewall
# route
...
...
router/update_z-i-stop.sh
0 → 100755
View file @
effb1aff
#!/bin/sh -x
SETNAME
=
rkz
IFACE
=
vmbr0
# hash:ip
IPSTYPE
=
hash
:net
iptables
-t
mangle
-D
PREROUTING
-i
$IFACE
-m
set
--match-set
$SETNAME
dst
-j
MARK
--set-mark
5
# something like clean
ipset
-exist
destroy
$SETNAME
.tmp
ipset
-exist
destroy
$SETNAME
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