全球主机交流论坛

标题: euserv一键warp添加ipv4访问(CentOS7/Debian10/Ubuntu20.04支持) [打印本页]

作者: 嗷嗷    时间: 2021-3-22 03:47
标题: euserv一键warp添加ipv4访问(CentOS7/Debian10/Ubuntu20.04支持)
本帖最后由 嗷嗷 于 2021-5-4 07:47 编辑

IP+1:https://haoduck.com/794.html


CentOS7Debian10Ubuntu20.04下测试可用,其他系统可以手动配置。


  1. apt-get update && apt-get install wget && wget -qO- https://cdn.jsdelivr.net/gh/peng4740/euserv-wgcf/install.sh|bash
复制代码


jsdelivr更新有延迟,3月24号之前用下面这个,之后用上面那个(两个都行)

  1. apt-get update && apt-get install wget && wget -qO- https://haoduck.com/sh/euserv-wgcf.sh|bash
复制代码



手动的教程:https://haoduck.com/774.html


作者: 艾米休艾米休    时间: 2021-3-22 03:49
提示: 作者被禁止或删除 内容自动屏蔽
作者: ymcoming    时间: 2021-3-22 07:25
用CN2都拉不动Euserv,最多1万
作者: 主菜单    时间: 2021-3-22 09:20
坚决支持debian脚本
作者: 上帝耍流氓    时间: 2021-3-22 09:24
大佬好多教程哟
作者: 老年先疯队队长    时间: 2021-3-22 09:25
就喜欢这么爱折腾的MJJ
作者: coca    时间: 2021-3-22 09:32
提示: 作者被禁止或删除 内容自动屏蔽
作者: 小沨    时间: 2021-3-22 10:35
不错
作者: 叫我ams就好了    时间: 2021-3-22 12:07
再努力一下啊,Debian表示等你
作者: yelo    时间: 2021-3-22 13:34
支持一下
作者: dbug    时间: 2021-3-22 14:16
老哥把你网站优化下,复制代码不要弹alert啊,不想屏蔽
作者: 3721    时间: 2021-3-22 15:01
安排了
作者: dbug    时间: 2021-3-22 15:07
coca 发表于 2021-3-22 09:32
大佬弄个Debian10一键脚本

https://91ai.net/forum.php?mod=viewthread&tid=817272
作者: daniu    时间: 2021-3-22 22:34
支持大佬讲姿势
作者: 樯橹    时间: 2021-3-22 22:39
我上星期刚手撸完,这星期就看好几个在发一键了,珍妮玛
作者: dole    时间: 2021-3-22 22:52
感谢大佬!
作者: b66667777    时间: 2021-3-22 22:53

作者: teolinkiat    时间: 2021-3-23 12:17
ubuntu20.04用了一键脚本还是不行啊
作者: red233    时间: 2021-4-5 19:33
提示: 作者被禁止或删除 内容自动屏蔽
作者: 冲浪麦浪花郎    时间: 2021-4-5 20:08
自古LOC出白女票
作者: aipage    时间: 2021-4-5 21:23
用了一键脚本,也得出IP了。但是PING不通呢
sed: can't read wgcf-profile.conf: No such file or directory
cp: cannot stat ‘wgcf-profile.conf’: No such file or directory
Created symlink from /etc/systemd/system/multi-user.target.wants/[email protected] to /usr/lib/systemd/system/[email protected].
Job for [email protected] failed because the control process exited with error code. See "systemctl status [email protected]" and "journalctl -xe" for details.
完成了,可以 ping 1.1.1.1 试试看了
如果没出问题,这里应该能显示你的IP:195.140.1xx.xxx <=如果这里是空的,大概是失败了

作者: 嗷嗷    时间: 2021-4-6 00:19
aipage 发表于 2021-4-5 21:23
用了一键脚本,也得出IP了。但是PING不通呢
sed: can't read wgcf-profile.conf: No such file or director ...

没有成功喔,你这个ip是nat64的ip
作者: 嗷嗷    时间: 2021-4-6 00:22
red233 发表于 2021-4-5 19:33
大佬,脚本重启就无效了,搞个自启的吧

理论上重启后还是有效的,我没重启过

你可以用这个试试
  1. echo "$(command -v wg-quick) up wgcf" >> /etc/profile
复制代码

作者: xiaxiaoji    时间: 2021-4-6 00:35
马克备用
作者: aipage    时间: 2021-4-6 01:02
嗷嗷 发表于 2021-4-6 00:19
没有成功喔,你这个ip是nat64的ip

那是没得救咯?
作者: 嗷嗷    时间: 2021-4-6 01:11
aipage 发表于 2021-4-6 01:02
那是没得救咯?


重新运行脚本喔,应该是你开了nat64,导致ip不干净wgcf没生成配置喔
作者: red233    时间: 2021-4-6 01:26
提示: 作者被禁止或删除 内容自动屏蔽
作者: red233    时间: 2021-4-6 01:32
提示: 作者被禁止或删除 内容自动屏蔽
作者: 嗷嗷    时间: 2021-4-6 02:20
red233 发表于 2021-4-6 01:32
这段代码怎么取消,有点烦每次重连ssh 都重新执行一次

cat /etc/profile | grep -v "$(command -v wg-quick) up wgcf" > /etc/profile
作者: 主机我来了    时间: 2021-4-6 08:33
嗷嗷 发表于 2021-4-6 01:11
重新运行脚本喔,应该是你开了nat64,导致ip不干净wgcf没生成配置喔

我重新运行了很多次都不行,怎么关闭你说的nat64?
作者: 嗷嗷    时间: 2021-4-6 13:59
主机我来了 发表于 2021-4-6 08:33
我重新运行了很多次都不行,怎么关闭你说的nat64?

dns改回谷歌的ipv6 dns
作者: ck85124    时间: 2021-4-6 14:36
感谢大佬




欢迎光临 全球主机交流论坛 (https://91ai.net/) Powered by Discuz! X3.4