Loading

摘要: 场景: 一台服务上部署了n多个网站,假设 有 web1 web2 ,服务器的IP 是 192.168.1.10 ,web1 的访问地址 192.168.1.10:8080 ,web2 的访问地址 192.168.1.10:8081, 有一个域名 myhost.com , 当然你会绑定 IP myho 阅读全文
posted @ 2021-05-26 18:18 microestc 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: 1. 下载镜像 docker pull vimagick/pptp:latest 2. 运行 docker run -it -d --privileged --network="host" -e SERVER=ip -e TUNNEL=vpn-name -e USERNAME=name -e PAS 阅读全文
posted @ 2021-05-26 15:45 microestc 阅读(1715) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 apt install pptp-linux 2. 连接 pptpsetup --create vpn-name --server ip --username name --password passwd --encrypt --start 3. 断开连接 poff vpn-name 4 阅读全文
posted @ 2021-05-26 15:24 microestc 阅读(908) 评论(0) 推荐(0) 编辑
摘要: 1. 拉取镜像 docker pull coredns/coredns 2. 创建配置文件 mkdir -p /etc/coredns nano /etc/coredns/corefile .:53 { hosts { 10.0.0.1 my.host.com // 你域名和ip fallthrou 阅读全文
posted @ 2021-05-26 10:55 microestc 阅读(2384) 评论(0) 推荐(0) 编辑