Compare commits
2 Commits
f006223839
...
982395c646
Author | SHA1 | Date | |
---|---|---|---|
982395c646 | |||
d1fa30924a |
@ -1,6 +1,8 @@
|
||||
name: Create Scripts
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
schedule:
|
||||
- cron: 0 5 * * *
|
||||
jobs:
|
||||
@ -21,4 +23,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: chn_list.rsc
|
||||
path: chn_list.rsc
|
||||
path: chn_list.rsc
|
||||
|
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# Mikrotik Router Switch
|
||||
|
||||
For policy routing at china and foreign countries with Mikrotik RouterOS.
|
||||
|
||||
## Quick Start
|
||||
|
||||
Flush address list.
|
||||
|
||||
```
|
||||
:foreach i in=[/ip firewall mangle find comment=\"breakwall\"] do={ /ip firewall mangle disable $i }
|
||||
:foreach i in=[ find list=$address_list ] do={ remove number=$i }
|
||||
```
|
||||
|
||||
Upload chn_list.rsc script to your router, then run import command.
|
||||
|
||||
```
|
||||
/import chn_list.rsc
|
||||
```
|
||||
|
||||
> If there have any firewall rules that depends on the address list 'chn_list', for example mangle rules, disable
|
||||
> mangle rules before flush, and enable it after import.
|
@ -12,4 +12,5 @@
|
||||
# Apple push notifications
|
||||
17.0.0.0/8
|
||||
|
||||
dl.simaek.com
|
||||
dl.simaek.com
|
||||
nas.simaek.com
|
Loading…
Reference in New Issue
Block a user