Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Linux it is possible to create an a manual IPSec (no IKE etc) tunnel thus:

spdadd[5066][5064] udp -P in ipsec esp/transport//require;
add esp 2222 -m transport -E des-ede3-cbc "123456789012123456789012" -A hmac-md5 "1234567890123456";

I need to do the same on Windows. I am aware of netsh but I don't think its equivalent, I need to specific the SPI (thats the 2222 above) and this seems impossible.

Any ideas or alternatives?!



share|improve this question
This might be better answer:… – Gyuri Feb 8 '13 at 0:53

See this article and this one from Microsoft. They will guide you through the available options for seting up IPSec under Windows for IPv4 and IPv6.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.