跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 结帖!已经找到 wireguard在ubuntu使用客户端
未分類
7 4 月 2020

结帖!已经找到 wireguard在ubuntu使用客户端

52Fancy 大佬有话说 : 2020-3-16 12:25:44

结帖!已经找到 wireguard在ubuntu使用客户端

本帖最后由 52Fancy 于 2020-3-16 21:18 编辑

wireguard用的Azure日本,感觉还不错
就是现在常用的系统就是ubuntu。找来找去也没找到怎么在ubuntu安装客户端
大佬们,有路子吗?

—————————————更新——————————–

https://github.com/TunSafe/TunSafe

Supported operating systems
TunSafe is officially supported on the following operating systems.

Windows 7, 8, 10
Linux
MacOS
FreeBSD
Android

Using TunSafe on POSIX compatible systems
TunSafe does not yet have a graphical user interface for Linux, OSX, or FreeBSD. However, you can compile TunSafe from source and run it from a command prompt.

Follow the instructions below to download, compile and install TunSafe on unix-like systems.

1. Download the TunSafe source code
$ git clone https://github.com/TunSafe/TunSafe.git
$ cd TunSafe

2. Install compiler environment
Linux
$ sudo apt-get install clang-6.0
FreeBSD
$ sudo pkg install gcc7

3. Build and install TunSafe
$ make
$ sudo make install
If everything went well, you now have a tunsafe tool in the /usr/bin directory.

4. Run TunSafe
To use TunSafe you need a WireGuard configuration file from a 扶墙 provider. You can also use the free TunSafe 扶墙 servers. Assuming it’s named TunSafe.conf, do the following to start TunSafe:

$ sudo tunsafe start -d TunSafe.conf
If everything went well, TunSafe daemonizes and continues running in the background. To instead run in the foreground, omit the -d flag.

You can verify that TunSafe is running with the tunsafe show command. It should look similar to this.

$ sudo tunsafe show
interface: tun0
public key: 8q1SiKy7hKDTPXltp2iimxLjWpL53lRnQzms9f8LXU0=
private key: (hidden)
listening port: 8040

peer: T/DjhrM8hkbqYnOYQvHExF0HI/Csi6DktQth5ijcpDI=
allowed ips: 192.168.2.0/24
Stop TunSafe by using tunsafe stop.

$ sudo tunsafe stop tun0

52Fancy 大佬有话说 : 2020-3-16 18:15:26

有大佬知道嘛

52Fancy 大佬有话说 : 2020-3-16 21:18:15

结帖

C51 大佬有话说 : 2020-3-16 21:45:08

感谢,或许我也需要

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具