Gateway service on single-NIC linux with Dreamacro/clash.
1.1K
Clash support VMess, Shadowsocks, Trojan, Snell protocol for remote connections, can run on linux, windows, mac on various hardware architectures, is popular and under active developing recently.
It's recommended to limit docker daemon's log size, or you will soon runout of disk space.
Modify your /etc/docker/daemon.json like the following:
{
"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn/"],
"log-driver": "json-file",
"log-opts": {"max-size":"100m", "max-file":"3"}
}
This image needs macvlan to function properly, modify the below sample to fit your needs.
docker network create -d macvlan --subnet=192.168.12.0/24 --gateway=192.168.12.1 --ip-range=192.168.12.64/30 -o parent=eth0 macnet
Add-VMNetworkAdapter -VMName vEthernetStatic2 -SwitchName External
Now you can break through the great f*** wall.
Content type
Image
Digest
Size
72 MB
Last updated
over 5 years ago
docker pull chenxinaz/clash_gw