找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2656|回复: 0

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

[复制链接]
发表于 2023-9-14 22:53:15 | 显示全部楼层 |阅读模式
How to Install and Configure SoftEther VPN on Ubuntu (operavps.com)9 a; ~( l  V; b. ]0 F7 V$ i( [
有客户有需求,以前都是老版本  
8 I# W/ N% l" Z% b2 X( F
) q; A; [/ v5 D4 e# ?9 T1 B& sapt-get update –y  Y# C" n+ v& l6 [
) G1 V; q, D1 s

! e0 `; d; u9 R+ j/ v& h! V" }apt-get install build-essential gnupg2 gcc makey   不然GCC报错" y( J  F: d$ P5 R/ l

2 ]: D  @3 [) ?1 }! _6 C: Ywget https://www.softether-download.c ... ux-x64-64bit.tar.gz6 N  X- J' s8 L+ l3 v
& \6 j9 n: S3 |8 A# ^
4 K2 W& S. E( ~# N' ?7 y
/ o- Q9 J" Z" |: y0 V9 H
tar -xvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz& f# }  `1 W  ^6 c- Q9 [

. b% P, A5 H* R" z
( h3 U, G+ w& W: ]! tcd vpnserver/
2 U, ^3 |! {+ `
  ~/ w5 q- V0 z" Y* V7 \

. F* H6 ], n7 psudo apt install gcc binutils gzip libreadline-dev libssl-dev libncurses5-dev libncursesw5-dev libpthread-stubs0-dev5 U: \$ l9 L' T' i% o. Y
! p, W/ @8 y; O/ g, b* J
! }/ @/ e$ g1 n- i" b
make" {9 H: o  r4 v  r( z/ ?
1 X2 }4 T/ g/ R1 |7 p' i( H0 ~& G# ]& L
8 N" h& H5 l( F0 M# B$ z5 x
cd ..sudo mv vpnserver /opt/softether
  e; p9 ~- N3 @' v5 h$ d% g( D& X1 c* R
! f7 b5 Q0 h4 ?: f  m7 k" l

" \3 }4 L# U' [: M8 ?  G# \7 t% xsudo /opt/softether/vpnserver start2 G- t1 C% p: i8 c4 z

! ~# X: n) O- t/ h4 |5 W
6 `0 D! k! Y: x1 ?' m
sudo /opt/softether/vpnserver stop
: W" m7 o" Q4 `/ q6 Y" D7 f6 J3 S0 x( L
3 E  v4 ?# j- _
sudo nano /etc/systemd/system/softether-vpnserver.service* J* N4 D, q& _* T6 r  }) Z

0 W6 \$ }6 {; M8 v
# ?% K# B8 |1 ^$ c; n/ @0 X  a, T/ Q
[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.target8 B1 [/ }8 M: k* q0 s9 M
6 ?. B" B* ]8 {- k* x

! U5 T. M8 L! [6 H/ _sudo systemctl start softether-vpnserver6 `1 A$ ~- [) l9 [; a' R
8 _/ f% G' h3 y( C+ `4 O! f
# V9 {0 k: R7 Y+ @0 c9 L, R
sudo systemctl enable softether-vpnserver5 [% B* h! L3 v7 }% o$ n- o1 C

0 D4 ^" M9 j1 P) L1 D2 w

8 F9 _) D: q8 ]! t4 a% [3 U. vsystemctl status softether-vpnserver0 S/ ~% h7 ~3 q, ~$ ^# S* r
2 \* I$ I# d1 v
5 d; T# X0 M2 O. w( T  n# D

% b3 [3 a  i; X

; P! j+ X9 P7 p  n4 L
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-8-29 23:47 , Processed in 0.084543 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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