[Others] 【紧急】更新到20.4社区版后tunsafe不能正常使用
Tofloor
poster avatar
de1pin
deepin
2022-01-27 00:04
Author

由于公司的VPN是使用的tunsafe,之前装的20.3一直是可以使用的,更新20.4后 tunsafe 不能使用了,现象为可以连接上

sudo tunsafe show 但是访问不了VPN后面的资源,查看tunsafe的状态可以看到没有流量进去,同样的配置,在20.3和Windows上也是正常工作的。

interface: tun0
  public key: xxxxxxxxxxx=
  private key: (hidden)
  address: x.x.x.x/24

peer: xxxxxxxxxxxxx=
  endpoint: x.x.x.x:xxxx
  allowed ips: xx.xx.xx.0/24
  latest handshake: 33 seconds ago
  transfer: 92 B received, 212 B sent
  persistent keepalive: every 25 seconds

在未更新20.4之前是正常使用的。

提示:编译tunsafe注意下(参考官方 https://tunsafe.com/user-guide/linux )

sudo apt-get update
sudo apt-get install clang -y
修改 build_linux.sh 将第8和9行的 clang++-6.0 修改成 clang++
再执行 make 即可编译成功
然后再执行 sudo make install 即可安装成功

紧急,希望社区可以排查下。

补充:通过wireshark 抓包 看 貌似流量没有进入 tun0 这个tunsafe的网卡上来

Reply Favorite View the author
All Replies
qq8645
deepin
2022-01-27 00:43
#1

貌似easyconnect也是能连接但无流量,看看这个贴呢,https://bbs.deepin.org/post/230779

Reply View the author
deepin-superuser
deepin
2022-01-27 01:28
#2

也就是说 20.4 软件不会自动添加路由表了呗

Reply View the author
de1pin
deepin
2022-01-27 01:57
#3
qq8645

貌似easyconnect也是能连接但无流量,看看这个贴呢,https://bbs.deepin.org/post/230779

感谢回复,我自己手动使用wireguard连上了,后面通过这个帖子 手动添加路由后 tunsafe也可以了。

还是希望社区能够修复这个bug!

Reply View the author
de1pin
deepin
2022-01-27 02:04
#4
deepin-superuser

也就是说 20.4 软件不会自动添加路由表了呗

是的

Reply View the author
渡然
deepin
2022-01-29 19:10
#5

我的也是https://bbs.deepin.org/post/231191

Reply View the author
de1pin
deepin
2022-02-12 01:00
#6
渡然

我的也是https://bbs.deepin.org/post/231191

可以按照我的这个试试

解决了吧

Reply View the author
tjp-come
deepin
2022-02-12 02:03
#7

如何解决呢?给个命令列表吧

Reply View the author
渡然
deepin
2022-02-17 23:09
#8

image.png

image.png

还是不行

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-02-28 08:20
#9
deepin-superuser

也就是说 20.4 软件不会自动添加路由表了呗

@deepin-mq 这个应该算是什么组件的问题?

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-02-28 18:20
#10

https://github.com/linuxdeepin/developer-center/issues/2248#issuecomment-1053795065

官方已跟进

Reply View the author
vivian_me
deepin testing team
2022-03-15 22:47
#11

很抱歉给您带来不便,目前内测已经修复了VPN问题哦,可以加个内测仓库体验下,参考:https://bbs.deepin.org/post/232826

目前内测环境还是比较稳定的,预计月底推新版本哦😁

Reply View the author