找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2459|回复: 0

新版本测试 比老版本麻烦好多

[复制链接]
发表于 2023-9-14 22:53:15 | 显示全部楼层 |阅读模式
How to Install and Configure SoftEther VPN on Ubuntu (operavps.com)1 |' u0 T9 Y# t3 N; I$ x4 K% S
有客户有需求,以前都是老版本  
" Q8 O- m- B+ I# H+ u2 h4 B! i, o
6 V/ Y! h5 \4 U, I- q& \  u7 H2 uapt-get update –y$ A8 ]6 A9 n) G3 b
/ V* z9 U: j- t
$ R6 f! k0 U% q, I! Z2 Q
apt-get install build-essential gnupg2 gcc makey   不然GCC报错, j$ _! y9 l: M  m

/ l6 t0 l% R0 b6 Cwget https://www.softether-download.c ... ux-x64-64bit.tar.gz$ i: X+ j( j% `9 K4 _
. R6 z& U2 J, d! `3 l4 j" @) e) F0 j
  w9 O- [. ]; g, k- _

, C; k8 z" ~  O3 n1 E) }+ etar -xvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
' K2 d9 w8 T) F% e( x* _6 N7 ~( U7 C5 R

; a  w$ d! g+ a3 Bcd vpnserver/$ f& p2 h: s# @$ b, v

9 D& s5 o4 ?9 Y% ~! ~! B/ _

( J. @. y1 L' Osudo apt install gcc binutils gzip libreadline-dev libssl-dev libncurses5-dev libncursesw5-dev libpthread-stubs0-dev
! o1 s/ H* A2 E" X! b; }4 {6 @5 e$ B# H, L8 G( |
- B6 Y# j8 X" T9 ]
make8 z6 {  b) Z2 Q9 w. m8 n; a

# u$ p3 E$ d  y4 z! _( a

' M9 _# a% Y0 T  |7 jcd ..sudo mv vpnserver /opt/softether/ ^+ v2 V' c8 b7 i, Z5 s- _

; F+ q* P6 m; x

4 }& T5 s; ?6 lsudo /opt/softether/vpnserver start
% @  j9 }7 X5 t/ G
6 N1 @8 d2 {" g( A8 z

4 q3 s3 {& F0 R) f. }* C3 A" Qsudo /opt/softether/vpnserver stop
/ n5 ~( N3 v2 m8 `' J
( C. L2 Z4 t! _& s* ]* i/ x9 q

: {" y/ h) X6 {4 u7 v. C% p' Dsudo nano /etc/systemd/system/softether-vpnserver.service
2 D0 s, K% [- e% c" P, u5 n: a# w9 z# V% }) ]; }

: l. B) P  ~' b" }[Unit]Description=SoftEther VPN serverAfter=network-online.targetAfter=dbus.service[Service]Type=forkingExecStart=/opt/softether/vpnserver startExecReload=/bin/kill -HUP $MAINPID[Install]WantedBy=multi-user.target# C  P  e3 H  N4 u+ Y# c1 I6 t
2 F8 M' W- I% b  N% `

3 |0 e) @4 p; G6 Qsudo systemctl start softether-vpnserver- F" t8 G# G$ m
; u3 N& S) J  G. K' B# [* L

* q8 h, U9 e' ~9 X2 t/ ksudo systemctl enable softether-vpnserver
( `9 J/ |' w5 ]# T/ H$ _# i$ E+ g+ X3 @0 [4 K+ M7 v+ u

# }/ P4 Y+ D% W% a; Asystemctl status softether-vpnserver
8 X9 g/ h6 Y3 K/ D+ ]4 d4 D# e5 k6 }  o1 g7 Q5 N

" a* k. J& p. F3 D) s5 P2 S# b
4 H/ g  h  i' Y8 p0 G0 B0 {

/ k- z* a1 t# b5 Y4 _; Q
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|赛格电脑 华强北 电脑城 南山赛格 龙岗电子世界 龙华电脑城 沙井电脑城 松岗电脑城 pc4g.com ( 粤ICP备16039863号 )

GMT+8, 2025-7-12 10:15 , Processed in 0.083278 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表