softether vpn搭建及L2TP配置

菜鸟 16573 385

一、安装VPN

1,在安装VPN前我们需要安装它的依赖库如下

yum -y install gcc zlib-devel openssl-devel readline-devel ncurses-devel

2,到官网下载wget softether server版本

解压,cd vpnserver;

安装:make 即可;

第一步提示Do you want to read the License Agreement for this software ?

翻译:你想读这个软件的许可协议吗?  我们选择1

Did you read and understand the License Agreement ?

翻译:你读过并理解许可协议了吗? 我们继续选择1 yes

以上操作完成后出现:Did you agree the License Agreement ?

翻译:你同意许可协议吗? 我们继续选择1 yes

最后出现以下显示证明安装成功!

二、启动VPN

./vpnserver start

2设置管理员密码

./vpncmd

选择1 vpnserver或vpn bridge的管理

主机名和HUB名称默认回车即可,

输入ServerPasswordSe设置VPN管理员密码(这个是区分大小写的)

4)创建虚拟HUB

在输入HubCreate yunwei的同时需要连接管理员密码 后边的yunwei可以随便写,这是一个自定义名称。

到这里我们的服务端就设置好了.

然后在电脑下载softether 服务器版,

softether vpn搭建及L2TP配置-第1张图片-笔记运维

softether vpn搭建及L2TP配置-第2张图片-笔记运维softether vpn搭建及L2TP配置-第3张图片-笔记运维

在上面可以进行用户管理新增或者删除;然后下载softether客户端进行连接就可以了;

如果你电脑是苹果或者其他设备的话,那么是没有客户端的,这样我们可以设置一个L2TP VPN来进行连接;

softether vpn搭建及L2TP配置-第4张图片-笔记运维

softether vpn搭建及L2TP配置-第5张图片-笔记运维

softether vpn搭建及L2TP配置-第6张图片-笔记运维

softether vpn搭建及L2TP配置-第7张图片-笔记运维

L2TP要打开1701,500,4500这几个udp端口,不然连接不上的

标签: softether

发表评论 (已有385条评论)

评论列表

2020-04-18 18:07:15

你救我命了。搞了一整天打开3个udp端口就解决了。谢谢。

2020-05-03 15:29:00

@冬瓜 哈哈

2023-01-23 01:45:48

@菜鸟 1

2023-01-23 01:46:48

@菜鸟 1

2023-01-23 01:46:57

@菜鸟 1

2023-01-23 01:48:17

@菜鸟 1

2023-01-23 01:48:23

@菜鸟 1

2023-01-23 01:48:23

@菜鸟 1

2023-01-23 01:48:24

@菜鸟 1

2023-01-23 01:48:24

@菜鸟 1

2023-01-23 01:48:24

@菜鸟 1

2023-01-23 01:48:25

@菜鸟 1

2023-01-23 01:48:37

@菜鸟 1

2023-01-23 01:48:42

@菜鸟 1

2023-01-23 01:48:49

@菜鸟 1

2023-01-23 01:48:56

@菜鸟 1

2023-01-23 01:49:02

@菜鸟 1

2023-01-23 01:49:08

@菜鸟 1

2023-01-23 01:49:18

@菜鸟 1

2023-01-23 01:49:25

@菜鸟 1

2023-01-23 01:49:32

@菜鸟 1

2023-01-23 01:49:32

@菜鸟 1

2023-01-23 01:49:32

@菜鸟 1

2023-01-23 01:49:39

@菜鸟 1

2023-01-23 01:49:49

@菜鸟 1

2023-01-23 01:51:15

@菜鸟 1

2023-01-23 01:51:19

@菜鸟 1

2023-01-23 01:51:30

@菜鸟 1

2023-01-23 01:51:30

@菜鸟 1

2023-01-23 01:51:31

@菜鸟 1

2023-01-23 01:51:31

@菜鸟 1

2023-01-23 01:51:32

@菜鸟 1

2023-01-23 01:51:32

@菜鸟 1

2023-01-23 01:51:32

@菜鸟 1

2023-01-23 01:51:32

@菜鸟 1

2023-01-23 01:51:33

@菜鸟 1

2023-01-23 01:51:33

@菜鸟 1

2023-01-23 01:51:34

@菜鸟 1

2023-01-23 01:51:41

@菜鸟 1

2023-01-23 01:51:45

@菜鸟 1

2023-01-23 01:51:50

@菜鸟 1

2023-01-23 01:51:59

@菜鸟 1

2023-01-23 01:52:03

@菜鸟 1

2023-01-23 01:52:08

@菜鸟 1

2023-01-23 01:52:11

@菜鸟 1

2023-01-23 01:52:15

@菜鸟 1

2023-01-23 01:52:19

@菜鸟 1

2023-01-23 01:52:19

@菜鸟 1

2023-01-23 01:52:19

@菜鸟 1

2023-01-23 01:52:20

@菜鸟 1

2023-01-23 01:52:25

@菜鸟 1

2023-01-23 01:52:29

@菜鸟 1

2023-01-23 01:52:29

@菜鸟 1

2023-01-23 01:52:30

@菜鸟 1

2023-01-23 01:52:30

@菜鸟 1

2023-01-23 01:52:31

@菜鸟 1

2023-01-23 01:52:31

@菜鸟 1

2023-01-23 01:52:36

@菜鸟 1

2023-01-23 01:52:40

@菜鸟 1

2023-01-23 01:52:43

@菜鸟 1

2023-01-23 01:52:46

@菜鸟 1

2023-01-23 01:52:51

@菜鸟 1

2023-01-23 01:52:56

@菜鸟 1

2023-01-23 01:52:59

@菜鸟 1

2023-01-23 01:53:04

@菜鸟 1

2023-01-23 01:53:08

@菜鸟 1

2023-01-23 01:53:11

@菜鸟 1

2023-01-23 01:53:17

@菜鸟 1

2023-01-23 01:53:21

@菜鸟 1

2023-01-23 01:53:24

@菜鸟 1

2023-01-23 01:53:27

@菜鸟 1

2023-01-23 01:53:29

@菜鸟 1

2023-01-23 01:53:30

@菜鸟 1

2023-01-23 01:53:30

@菜鸟 1

2023-01-23 01:53:31

@菜鸟 1

2023-01-23 01:53:35

@菜鸟 1

2023-01-23 01:53:39

@菜鸟 1

2023-01-23 01:53:39

@菜鸟 -1 OR 2+40-40-1=0+0+0+1 --

2023-01-23 01:53:40

@菜鸟 -1 OR 3+40-40-1=0+0+0+1 --

2023-01-23 01:53:40

@菜鸟 -1 OR 2+630-630-1=0+0+0+1

2023-01-23 01:53:41

@菜鸟 -1 OR 3+630-630-1=0+0+0+1

2023-01-23 01:53:41

@菜鸟 -1' OR 2+284-284-1=0+0+0+1 --

2023-01-23 01:53:42

@菜鸟 -1' OR 3+284-284-1=0+0+0+1 --

2023-01-23 01:53:43

@菜鸟 -1' OR 2+338-338-1=0+0+0+1 or 'bd3amnJn'='

2023-01-23 01:53:43

@菜鸟 -1' OR 3+338-338-1=0+0+0+1 or 'bd3amnJn'='

2023-01-23 01:53:44

@菜鸟 -1" OR 2+949-949-1=0+0+0+1 --

2023-01-23 01:53:45

@菜鸟 -1" OR 3+949-949-1=0+0+0+1 --

2023-01-23 01:53:50

@菜鸟 0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

2023-01-23 01:53:53

@菜鸟 0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

2023-01-23 01:53:56

@菜鸟 (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

2023-01-23 01:53:59

@菜鸟 -1; waitfor delay '0:0:15' --

2023-01-23 01:54:01

@菜鸟 -1); waitfor delay '0:0:15' --

2023-01-23 01:54:03

@菜鸟 1 waitfor delay '0:0:15' --

2023-01-23 01:54:06

@菜鸟 1OOwVe68'; waitfor delay '0:0:15' --

2023-01-23 01:54:08

@菜鸟 -5 OR 756=(SELECT 756 FROM PG_SLEEP(15))--

2023-01-23 01:54:11

@菜鸟 -5) OR 146=(SELECT 146 FROM PG_SLEEP(15))--

2023-01-23 01:54:13

@菜鸟 -1)) OR 787=(SELECT 787 FROM PG_SLEEP(15))--

2023-01-23 01:54:16

@菜鸟 zU8hKJK8' OR 855=(SELECT 855 FROM PG_SLEEP(15))--

2023-01-23 01:54:18

@菜鸟 dQL2Ii4x') OR 418=(SELECT 418 FROM PG_SLEEP(15))--

2023-01-23 01:54:21

@菜鸟 G18uVXRW')) OR 964=(SELECT 964 FROM PG_SLEEP(15))--

2023-01-23 01:54:24

@菜鸟 1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

2023-01-23 01:54:27

@菜鸟 1'"

2023-01-23 01:54:27

@菜鸟 1????%2527%2522

2023-01-23 01:54:28

@菜鸟 @@eC0Hy

2023-01-23 01:54:30

@菜鸟 1

2023-01-23 01:54:32

@菜鸟 1

2023-01-23 01:55:12

@菜鸟 1

2023-01-23 01:55:15

@菜鸟 1

2023-01-23 01:55:15

@菜鸟 1

2023-01-23 01:55:16

@菜鸟 1

2023-01-23 01:55:16

@菜鸟 1

2023-01-23 01:55:16

@菜鸟 1

2023-01-23 01:55:17

@菜鸟 1

2023-01-23 01:55:17

@菜鸟 1

2023-01-23 01:55:17

@菜鸟 1

2023-01-23 01:55:18

@菜鸟 1

2023-01-23 01:55:18

@菜鸟 1

2023-01-23 01:55:18

@菜鸟 1

2023-01-23 01:55:21

@菜鸟 1

2023-01-23 01:55:25

@菜鸟 1

2023-01-23 01:55:28

@菜鸟 1

2023-01-23 01:55:31

@菜鸟 1

2023-01-23 01:55:34

@菜鸟 1

2023-01-23 01:55:37

@菜鸟 1

2023-01-23 01:55:40

@菜鸟 1

2023-01-23 01:55:43

@菜鸟 1

2023-01-23 01:55:45

@菜鸟 1

2023-01-23 01:55:48

@菜鸟 1

2023-01-23 01:55:48

@菜鸟 1

2023-01-23 01:55:48

@菜鸟 1

2023-01-23 01:55:48

@菜鸟 1

2023-01-23 01:55:51

@菜鸟 1

2023-01-23 01:55:55

@菜鸟 1

2023-01-23 01:56:35

@菜鸟 1

2023-01-23 01:56:38

@菜鸟 1

2023-01-23 01:57:13

@菜鸟 1

2023-01-23 01:57:16

@菜鸟 1

2023-01-23 01:57:19

@菜鸟 1

2023-01-23 01:57:19

@菜鸟 1

2023-01-23 01:57:20

@菜鸟 1

2023-01-23 01:57:20

@菜鸟 1

2023-01-23 01:57:20

@菜鸟 1

2023-01-23 01:57:21

@菜鸟 1

2023-01-23 01:57:21

@菜鸟 1

2023-01-23 01:57:21

@菜鸟 1

2023-01-23 01:57:24

@菜鸟 1

2023-01-23 01:57:27

@菜鸟 1

2023-01-23 01:57:30

@菜鸟 1

2023-01-23 01:57:33

@菜鸟 1

2023-01-23 01:57:37

@菜鸟 1

2023-01-23 01:57:39

@菜鸟 1

2023-01-23 01:57:42

@菜鸟 1

2023-01-23 01:57:47

@菜鸟 1

2023-01-23 01:57:50

@菜鸟 1

2023-01-23 01:57:52

@菜鸟 1

2023-01-23 01:57:55

@菜鸟 1

2023-01-23 01:57:58

@菜鸟 1

2023-01-23 01:58:00

@菜鸟 1

2023-01-23 01:58:03

@菜鸟 1

2023-01-23 01:58:05

@菜鸟 1

2023-01-23 01:58:06

@菜鸟 1

2023-01-23 01:58:06

@菜鸟 1

2023-01-23 01:58:06

@菜鸟 1

2023-01-23 01:58:08

@菜鸟 1

2023-01-23 01:58:11

@菜鸟 1

2023-01-23 01:58:54

@菜鸟 1

2023-01-23 01:58:57

@菜鸟 1

2023-01-23 02:01:04

@菜鸟 1

2020-11-10 04:08:29

怎么打开那几个udp端口。。

2020-11-21 21:06:35

@希尔芙 在防火墙上就可以了

2021-03-15 13:57:05

是打开服务器上的udp端口吗

2021-04-16 12:43:21

@北北 是的,不然是哪里的端口

2023-01-23 01:43:16

1

2023-01-23 01:44:53

1

2023-01-23 01:46:48

1

2023-01-23 01:46:56

1

2023-01-23 01:48:17

1

2023-01-23 01:48:24

1

2023-01-23 01:48:24

1

2023-01-23 01:48:25

1

2023-01-23 01:48:25

1

2023-01-23 01:48:25

1

2023-01-23 01:48:32

1

2023-01-23 01:48:38

1

2023-01-23 01:48:44

1

2023-01-23 01:48:50

1

2023-01-23 01:48:57

1

2023-01-23 01:49:10

1

2023-01-23 01:49:20

1

2023-01-23 01:49:26

1

2023-01-23 01:49:32

1

2023-01-23 01:49:33

1

2023-01-23 01:49:33

1

2023-01-23 01:49:33

1

2023-01-23 01:49:39

1

2023-01-23 01:49:51

1

2023-01-23 01:51:17

1

2023-01-23 01:51:22

1

2023-01-23 01:51:28

1

2023-01-23 01:51:33

1

2023-01-23 01:51:33

1

2023-01-23 01:51:34

1

2023-01-23 01:51:35

1

2023-01-23 01:51:36

1

2023-01-23 01:51:36

1

2023-01-23 01:51:43

1

2023-01-23 01:51:51

1

2023-01-23 01:51:55

1

2023-01-23 01:52:00

1

2023-01-23 01:52:04

1

2023-01-23 01:52:08

1

2023-01-23 01:52:12

1

2023-01-23 01:52:16

1

2023-01-23 01:52:20

1

2023-01-23 01:52:21

1

2023-01-23 01:52:21

1

2023-01-23 01:52:26

1

2023-01-23 01:52:29

1

2023-01-23 01:52:30

1

2023-01-23 01:52:30

1

2023-01-23 01:52:31

1

2023-01-23 01:52:32

1

2023-01-23 01:52:32

1

2023-01-23 01:52:33

1

2023-01-23 01:52:34

1

2023-01-23 01:52:39

1

2023-01-23 01:52:42

1

2023-01-23 01:52:45

1

2023-01-23 01:52:49

1

2023-01-23 01:52:53

1

2023-01-23 01:52:57

1

2023-01-23 01:53:01

1

2023-01-23 01:53:05

1

2023-01-23 01:53:09

1

2023-01-23 01:53:12

1

2023-01-23 01:53:15

1

2023-01-23 01:53:18

1

2023-01-23 01:53:21

1

2023-01-23 01:53:25

1

2023-01-23 01:53:28

1

2023-01-23 01:53:32

1

2023-01-23 01:53:32

1

2023-01-23 01:53:33

1

2023-01-23 01:53:33

1

2023-01-23 01:53:40

1

2023-01-23 01:53:41

-1 OR 2+547-547-1=0+0+0+1 --

2023-01-23 01:53:41

-1 OR 3+547-547-1=0+0+0+1 --

2023-01-23 01:53:41

-1 OR 2+74-74-1=0+0+0+1

2023-01-23 01:53:42

-1 OR 3+74-74-1=0+0+0+1

2023-01-23 01:53:42

-1' OR 2+928-928-1=0+0+0+1 --

2023-01-23 01:53:43

-1' OR 3+928-928-1=0+0+0+1 --

2023-01-23 01:53:44

-1' OR 2+743-743-1=0+0+0+1 or 'lrtX34yi'='

2023-01-23 01:53:45

-1' OR 3+743-743-1=0+0+0+1 or 'lrtX34yi'='

2023-01-23 01:53:45

-1" OR 2+154-154-1=0+0+0+1 --

2023-01-23 01:53:46

-1" OR 3+154-154-1=0+0+0+1 --

2023-01-23 01:53:48

if(now()=sysdate(),sleep(15),0)

2023-01-23 01:53:51

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

2023-01-23 01:53:57

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

2023-01-23 01:54:00

-1; waitfor delay '0:0:15' --

2023-01-23 01:54:02

-1); waitfor delay '0:0:15' --

2023-01-23 01:54:04

1 waitfor delay '0:0:15' --

2023-01-23 01:54:06

lMEa6dpi'; waitfor delay '0:0:15' --

2023-01-23 01:54:09

-5 OR 675=(SELECT 675 FROM PG_SLEEP(15))--

2023-01-23 01:54:11

-5) OR 921=(SELECT 921 FROM PG_SLEEP(15))--

2023-01-23 01:54:16

Ug9fmoBy' OR 151=(SELECT 151 FROM PG_SLEEP(15))--

2023-01-23 01:54:19

H5NOdIOp') OR 998=(SELECT 998 FROM PG_SLEEP(15))--

2023-01-23 01:54:22

BTB7qmXB')) OR 157=(SELECT 157 FROM PG_SLEEP(15))--

2023-01-23 01:54:24

1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

2023-01-23 01:54:27

1'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'