Ubuntu 18.04 LTS
打开80 443和4000端口
打开/etc/apache2/ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 4000 # 这里改成4000
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
监听80端口,其他和https://github.com/Unbinilium/Twist/blob/master/twist 一致
参考http://blog.leanote.com/post/quincyhuang/google-bbr
#twist配置
手动启用Google BBR以后BBR="disable"
防止更新内核
twist默认打开
添加DNS A record指向服务器公网ip
用certbot自动配置