-
开启混杂模式
ip link set eth0 promisc on
-
docker创建网络,注意将网段改为你自己的
docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=eth0 macnet
-
提前准备好正确的clash config , 必须打开redir在7892, 以及dns在53端口
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
php fixBom.php /path/your/www 1 | |
*/ | |
$basedir = $argv[1]; | |
$auto = !empty($argv[2]); | |
checkdir($basedir); | |
function checkdir($basedir) |
- Download & Install Sublime Text 3.2.2 Build 3211
- Visit https://hexed.it/