找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2655|回复: 0

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

[复制链接]
发表于 2023-9-14 22:53:15 | 显示全部楼层 |阅读模式
How to Install and Configure SoftEther VPN on Ubuntu (operavps.com)
9 U0 \9 X7 _: A1 Q% e$ y' L& ?有客户有需求,以前都是老版本  
5 M8 y2 L1 }/ n7 ~0 L+ a: [: R# `3 x, b$ @% x' \
apt-get update –y
7 ?! y/ M# f  b) z, y* O2 n$ X' m
/ z+ Z8 m: K& @- \) k, f; e, k$ W
: q; K. p6 N" e3 D2 L" A4 J6 v
apt-get install build-essential gnupg2 gcc makey   不然GCC报错
9 e, \- T% t% E# v. Q' a/ e  o* Z* J3 W4 S5 ^4 F
wget https://www.softether-download.c ... ux-x64-64bit.tar.gz; r. s+ [: R# ]* x0 B5 b# ]; m1 _. z
6 k; c: f/ h  A0 |

' ^5 Z1 p( {2 M- a. r
% Z/ Z) t6 o: E8 Etar -xvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
; R* d# B, _) `0 C) @5 a7 f
: ~9 `' `, B1 Y# _' r
% W7 R" o/ Q  P6 p. Wcd vpnserver/
, L5 j& Y! l9 [3 Y) a
( B  q1 j* d6 E9 K* w

1 h3 z2 o7 @/ X2 y8 R% Z) A+ msudo apt install gcc binutils gzip libreadline-dev libssl-dev libncurses5-dev libncursesw5-dev libpthread-stubs0-dev
: C3 F' O& I( s5 J
5 ]4 j8 m6 s0 X4 F: k" J" B9 g2 `
% A5 N+ [. G* A3 r) R( ]' f3 |' ~
make
/ L4 L$ h& W% p$ ]) S& L
5 k- z2 s0 A& i" c6 ?7 U; C
% Y  v2 O. D# c* ]5 a- T
cd ..sudo mv vpnserver /opt/softether/ ]5 R6 Q; J) O& \8 s1 S  u0 a
8 f7 K+ [6 Z- Y5 ?$ g1 R  ?
3 T" x& L+ k" J0 e3 Q. C
sudo /opt/softether/vpnserver start
; w# s9 H% V! H' r- k3 C
$ Z$ m2 o' l: y) }5 G- I$ p' c! Z
1 W3 }( f2 L! `" [
sudo /opt/softether/vpnserver stop( q: D4 J4 L6 P1 W7 t- L( b

% b% A* |+ m# y/ _3 ]
% J( r) l- s/ }
sudo nano /etc/systemd/system/softether-vpnserver.service0 O5 `& O. z5 ]
3 x) r5 ]! _  U
9 d' k" T1 Y- g' Z# I3 k
[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.target9 b& A4 V& ?# J+ G8 ^0 i
8 \, y- F  A) P, W1 h

" n; _. `/ A2 @  p; u1 [sudo systemctl start softether-vpnserver" u( U9 ]: K5 ]0 q
% r4 {+ d( i) v- G0 X

& D/ U: Z  w5 p( q4 gsudo systemctl enable softether-vpnserver
# n' B- [. {) ~& b8 V  f2 O% Q; r3 h7 W" k  S" |
% B( @6 d6 `9 z6 \: S& o/ x
systemctl status softether-vpnserver8 y! F' O& e+ \4 _/ B5 \* D/ l1 K7 P
* A3 U; J: y! l. a' w) ]: F

1 {0 `' `' u$ k! P$ c  D+ W$ D# H& J( m4 _' A% n) n
3 G5 R% r% l$ o6 h+ z, Y
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-8-29 23:43 , Processed in 0.091423 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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