通过trojan 自建梯子,VPN机场。内容包括如何下载,如何配置以及如何生成和配置SSL。
如果不想自建机场,可以使用这个机场,也支持clash客户端,这个是机场的测试视频(可以看超高清UHD): • 一个免费的观看高清视频的上外网的机场,如何获得以及下载客户端配置。Clas...
注册并登陆用户,之后可以看到机场的信息:
主页:
https://freenet.aliencity.org/zh_CN
也支持clash 客户端
注意:从我这个网站下载的配置好密码和服务器的Trojan 配置文件里面的代理端口(local_port这一项),改成你自己的代理端口,或者在你的代理设置中将端口改成这里的端口,总之配置文件中的代理地址和端口号要和你实际的一致。
购买搬瓦工CN2服务器的步骤:
搬瓦工CN2服务器直接购买连接:
https://bandwagonhost.com/aff.php?aff...
进入后再通过Ctrl + F 查找 CN2,即可找到很多CN2的服务器。CN2分为CN2(一般)和CN2 GIA(比较好)两种。购买时请注意看服务器名称中时CN2还是CN2 GIA 根据自己需要购买。
优惠码:BWHCGLUKKB(购买时输入 有折扣,和我的推荐码没有关系)
视频中的服务器未必都适合所有人,如果你的速度不快。可以根据你自己的宽带线路来选择相应的服务器: 如果你的宽带是移动的,则通过我的上面的一步到位的那个推荐链接进入后,通过Ctrl+F搜索China Mobile, 如果时联通宽带,则搜索China Unicom,如果是电信宽带,则搜索China Telecom。
我的推荐链接地址: https://bandwagonhost.com/aff.php?aff...
购买如下服务器的直达链接
50美元/一年的CN2的: https://bandwagonhost.com/aff.php?aff...
50美元/三个月的的CN2 GIA: https://bandwagonhost.com/aff.php?aff...
推荐的服务器直达连接
日本节点:
49.9美元/月 https://bandwagonhost.com/aff.php?aff...
86.9美元/月 https://bandwagonhost.com/aff.php?aff...
165.9美元/月 https://bandwagonhost.com/aff.php?aff...
329美元/月 https://bandwagonhost.com/aff.php?aff...
香港节点:
89.9美元/一个月 https://bandwagonhost.com/aff.php?aff...
155.9美元/一个月 https://bandwagonhost.com/aff.php?aff...
299美元/月 https://bandwagonhost.com/aff.php?aff...
589美元/月 https://bandwagonhost.com/aff.php?aff...
洛杉矶节点:
49.9美元/年 https://bandwagonhost.com/aff.php?aff...
49.9美元/季度 https://bandwagonhost.com/aff.php?aff...
56.9美元/月 https://bandwagonhost.com/aff.php?aff...
86.9美元/月 https://bandwagonhost.com/aff.php?aff...
不满意30天内可退款
如何购买域名和配置DNS: • 如何购买网站的域名和配置DNS(域名服务)
Windows 下载:
https://github.com/trojan-gfw/trojan/...
先下载并安装 vc_redist.x64.exe, 下载连接:https://aka.ms/vs/16/release/vc_redis...
MacOS:
先装Homebrew 再执行:
brew tap trojan-gfw/homebrew-trojan
brew install trojan
免费生成SSL:
sudo snap install core; sudo snap refresh core
sudo apt-get remove certbot 或 sudo dnf remove certbot 或 sudo yum remove certbot. (三选一)
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
下面二选一来生成SSL,过程中需要根据提示输入域名等信息。
sudo certbot certonly --standalone (服务器上没有网站应用,不会占用端口)
sudo certbot certonly --webroot (服务器上有网站应用,会占用端口)
trojan客户段配置文件:
{
"run_type": "client",
"local_addr": "127.0.0.1",
"local_port": 1080,
"remote_addr": "example.com",
"remote_port": 443,
"password": [
"password1"
],
"log_level": 1,
"ssl": {
"verify": true,
"verify_hostname": true,
"cert": "",
"cipher": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:AES128-SHA:AES256-SHA:DES-CBC3-SHA",
"cipher_tls13": "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384",
"sni": "",
"alpn": [
"h2",
"http/1.1"
],
"reuse_session": true,
"session_ticket": false,
"curves": ""
},
"tcp": {
"no_delay": true,
"keep_alive": true,
"reuse_port": false,
"fast_open": false,
"fast_open_qlen": 20
}
}
Trojan 服务器段配置文件:
{
"run_type": "server",
"local_addr": "0.0.0.0",
"local_port": 443,
"remote_addr": "127.0.0.1",
"remote_port": 80,
"password": [
"password1",
"password2"
],
"log_level": 1,
"ssl": {
"cert": "/path/to/certificate.crt",
"key": "/path/to/private.key",
"key_password": "",
"cipher": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384",
"cipher_tls13": "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384",
"prefer_server_cipher": true,
"alpn": [
"http/1.1"
],
"alpn_port_override": {
"h2": 81
},
"reuse_session": true,
"session_ticket": false,
"session_timeout": 600,
"plain_http_response": "",
"curves": "",
"dhparam": ""
},
"tcp": {
"prefer_ipv4": false,
"no_delay": true,
"keep_alive": true,
"reuse_port": false,
"fast_open": false,
"fast_open_qlen": 20
},
"mysql": {
"enabled": false,
"server_addr": "127.0.0.1",
"server_port": 3306,
"database": "trojan",
"username": "trojan",
"password": "",
"key": "",
"cert": "",
"ca": ""
}
}
Информация по комментариям в разработке