← 返回命令列表

Linux command

pptpsetup 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create PPTP tunnel

pptpsetup --create [tunnel] --server [host] --username [user] --password [pass]

Delete tunnel

pptpsetup --delete [tunnel]

Create with encryption

pptpsetup --create [tunnel] --server [host] --username [user] --password [pass] --encrypt

说明

pptpsetup is a helper script that simplifies creating and managing PPTP VPN tunnel configurations. It generates the necessary peer configuration files in /etc/ppp/peers/ and stores authentication credentials in the appropriate secrets files. The --encrypt option enables MPPE encryption for the tunnel. Tunnels can be started with pon and stopped with poff using the tunnel name created by pptpsetup.

参数

--create _NAME_
Create tunnel.
--delete _NAME_
Delete tunnel.
--server _HOST_
Server address.
--username _USER_
Authentication username.
--password _PASS_
Authentication password.
--encrypt
Enable encryption.

FAQ

What is the pptpsetup command used for?

pptpsetup is a helper script that simplifies creating and managing PPTP VPN tunnel configurations. It generates the necessary peer configuration files in /etc/ppp/peers/ and stores authentication credentials in the appropriate secrets files. The --encrypt option enables MPPE encryption for the tunnel. Tunnels can be started with pon and stopped with poff using the tunnel name created by pptpsetup.

How do I run a basic pptpsetup example?

Run `pptpsetup --create [tunnel] --server [host] --username [user] --password [pass]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --create _NAME_ do in pptpsetup?

Create tunnel.