This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11834|Reply: 0

[windows] Using the netsh Command to Manage IP Security Policies (1)

[Copy link]
Posted on 9/12/2016 10:32:09 AM | | |
1. Enter the IP security policy interface of netsh

In the command line window (cmd.exe), enter netsh ipsec static to configure the IP security policy.

2. Create an IP security policy

Create an IP security policy called splaybow.com
C:\>netsh ipsec static add policy name=xxxx.com

Create a security policy named xxxx.com and described as xxxx.com's policy
C:\>netsh ipsec static add policy name=splaybow.com descrip{过滤}tion="xxxx.com's policy"

More parameters can be obtained using the following command.
netsh ipsec static add policy ? (Enter)

3. Delete an IP security policy

Delete the IP security policy named xxxx.com
netsh ipsec static delete policy splaybow
or netsh ipsec static delete policy name=splaybow




Previous:Modify the time when SSH automatically logs out when it times out
Next:Using the netsh Command to Manage IP Security Policies (2)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com