# 一些网络工具

路由跟踪：

```
apt install mtr

apt install traceroute

```

抓包：

```
apt install tcpdump
```

dns:

```
apt install dnsmasq
```

[adguard home](https://github.com/AdguardTeam/AdGuardHome)，可以参考:[https://zsxwz.com/2020/06/23/](https://zsxwz.com/2020/06/23/%e5%ae%89%e5%8d%93%e6%89%8b%e6%9c%ba%e4%b8%ad%e6%90%ad%e5%bb%baadguard-home%e5%b9%bf%e5%91%8a%e6%8b%a6%e6%88%aa%e5%8f%8d%e8%b7%9f%e8%b8%aadns%e6%9c%8d%e5%8a%a1/) :

```
wget -O ad.tar.gz https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.105.0-beta.4/AdGuardHome_linux_arm64.tar.gz

tar -zxvf ad.tar.gz

cd AdGuardHome

su -c './AdGuardHome'

# 配置好之后，监听端口
iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:你设置的dns端口
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://termux-wiki.zsxwz.com/root/yi-xie-wang-luo-gong-ju.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
