Win7 creates ip security policy
Premise:
Two win7 hosts, in a local area network, please turn off the firewall. I didn't turn off the ping before.
IKE can be configured
Open local security policy
Create a new IP security policy
Next step
Name at will
Next step
Edit add Policy Properties
Click General
Click Settings, set IKe
Click method
Next step
Next step
According to the need, general default
Add IP Selector, that is, the protected traffic range
Click to add if you want.
If you choose my IP, you can just use this machine.
You can choose any, or you can choose the target IP
Select the filter policy you just wrote, and next
Add filter action
Select Custom, Select Settings
Here is the encryption verification algorithm setting box, according to the need, generally select all of it
It should be noted that the peer setting parameters must be the same as this, otherwise the sa cannot be established.
Select the brush selector operation you just wrote, and next
Authentication method-Select pre-sharing
Enter the string, note: the configuration here must also be the same.
Allocation strategy
The peer configuration is about the same as just now, except that the encryption operation and authentication just mentioned need to be configured in the same way.