Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%gateway is no longer supported #34

Open
wants to merge 2 commits into
base: npm
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,12 @@ Header and Footer of the output file.

String used to format a rule.

You may use `%prefix`, `%mask`, `%length` and `%gateway` or `%gw` in the string.
You may use `%prefix`, `%mask`, `%length` and `%gw` in the string.

- `%prefix` is the prefix of the subnet (eg. `14.0.0.0`).
- `%mask` is the mask of the subnet (eg. `255.0.0.0`).
- `%length` is the length of the mask (eg. `8`).
- `%gateway` is the routing destination of the subnet (eg. `net` and `vpn`).
- `%gw` is the customized destination (eg. `pppoe` and `tun0`), which is set with
- `%gw` is the routing destination of the subnet (eg. `net` and `vpn`). It can be customized (eg. `pppoe` and `tun0`), which is setted with
`--gateway.net` and `--gateway.vpn`.

<!-- -->
Expand Down