安装Brook:

wget -O /usr/bin/brook https://github.com/txthinking/brook/releases/download/v20200201/brook_linux_amd64
chmod +x /usr/bin/brook

将发往本机22222端口的所有流量转发到223.5.5.5的53端口。

brook relay -l :22222 -r 223.5.5.5:53