mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-18 01:35:52 +00:00
update readme
This commit is contained in:
parent
992928757a
commit
b51ae4c069
24
README.md
24
README.md
@ -126,16 +126,16 @@ rules:
|
|||||||
|
|
||||||
## Extra
|
## Extra
|
||||||
|
|
||||||
使用 nftables 固定 TTL 为 64:
|
> [!TIP]
|
||||||
|
> 使用 nftables 固定 TTL 为 64:
|
||||||
|
> ```sh
|
||||||
|
> nft add table inet ttl64
|
||||||
|
> nft add chain inet ttl64 postrouting { type filter > hook postrouting priority -150\; policy accept\; }
|
||||||
|
> nft add rule inet ttl64 postrouting counter ip ttl > set 64
|
||||||
|
> ```
|
||||||
|
|
||||||
```sh
|
> [!TIP]
|
||||||
nft add table inet ttl64
|
> 使用 iptables 固定 TTL 为 64:
|
||||||
nft add chain inet ttl64 postrouting { type filter hook postrouting priority -150\; policy accept\; }
|
> ```sh
|
||||||
nft add rule inet ttl64 postrouting counter ip ttl set 64
|
> iptables -t mangle -A POSTROUTING -j TTL --ttl-set > 64
|
||||||
```
|
> ```
|
||||||
|
|
||||||
使用 iptables 固定 TTL 为 64:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
iptables -t mangle -A POSTROUTING -j TTL --ttl-set 64
|
|
||||||
```
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user