Compare commits
No commits in common. "982395c646ede9393328270ff6be5d7ea901747f" and "f0062238399e5014b87cab05e6cab71be6d8a62e" have entirely different histories.
982395c646
...
f006223839
@ -1,8 +1,6 @@
|
|||||||
name: Create Scripts
|
name: Create Scripts
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths-ignore:
|
|
||||||
- "**.md"
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 5 * * *
|
- cron: 0 5 * * *
|
||||||
jobs:
|
jobs:
|
||||||
@ -23,4 +21,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: chn_list.rsc
|
name: chn_list.rsc
|
||||||
path: chn_list.rsc
|
path: chn_list.rsc
|
21
README.md
21
README.md
@ -1,21 +0,0 @@
|
|||||||
# 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,5 +12,4 @@
|
|||||||
# Apple push notifications
|
# Apple push notifications
|
||||||
17.0.0.0/8
|
17.0.0.0/8
|
||||||
|
|
||||||
dl.simaek.com
|
dl.simaek.com
|
||||||
nas.simaek.com
|
|
Loading…
Reference in New Issue
Block a user