Win2k (ipsec.exe) and freeswan

Win2k (ipsec.exe) and freeswan

Post by Chris Lowt » Sat, 29 Mar 2003 00:57:48

I have located the HOWTO for connecting a Win2k system to a linux freeswan
gateway, but cant get it to work. In fact ipsec.exe is not triggering any
IP traffic out of the Win2k box at all.

I have a Win2k (SP3) machine with address at home, connected to
the public internet via a firewall/router with internal address
and a public external address (say: I am trying to connect to a
freeswan system also on the 'net' and have installed the ipsecpol and ipsec,
and created a ipsec.conf file.

Desktop ( -->
  HUB -->
    ( Router ( -->
      Public Internet -->
        ( Freeswan ( -->
          Office network (10.10.254.*)

(Addresses changed to protect the innocent)

For debug I have connected another machine to the hub to run tcpdump on, for
watching the low-level network traffic. When I run IPSEC on the desktop, it
creates no traffic on the LAN, but when I ping (a machine on
the office network), I see the ping packets crossing the LAN as real ICMP
addressed to the target IP (I would expect to see IPSec traffic instead).

So the problem (currently) is that nothing is coming OUT of the desktop. I
have turned OFF all Win2k firewalling by the way.

The ipsec.conf file is...

conn KDI

The IPSEC.exe output is...

IPSec Version 2.1.4 (c) 2001,2002 Marcus Mueller
Getting running Config ...
Microsoft's Windows 2000 identified
Host name is: CHRIS_LOWTH
LAN IP address:
Setting up IPSec ...

   Deactivating old policy...
   Removing old policy...

Connection KDI:
   MyTunnel     :
   MyNet        :
   PartnerNet   :
   CA (ID)      : Preshared Key ******************
   PFS          : y
   Auto         : start
   Auth.Mode    : MD5
   Rekeying     : 3600S/50000K
   Activating policy...

I also found that the "IP Sec Agent" was disabled in the "service" control
panel, so I have enabled it and can confirm that it starts when IPSEC.exe
runs (but still no traffic out of the desktop).

Any ideas?

My real address is: chris at lowth dot sea oh em
-> OpenSource e-mail virus protection :
-> iptables configuration wizards :


1. Win2k --> firewall --> ipsec /freeswan --> remote network

Hi, I want to set up a freeswan server that will be used basically to
create multiple "road warrior" tunnels from remote Win2k and XP
clients to a local network.  I want to put freeswan on a linux machine
inside a local network for other remote machines to access that

I'm somewhat confused about this and have read differing reports about
under what situations this is possible.  I have a few questions if
anybody could answer one or more of them.  Thanks.

1.  Do you need a static IP address for the remote client connection?
2.  Will the freeswan server work if it is on a NAT machine, i.e. it's
local address is say which corresponds to a real IP
address that is translated through a firewall/router?
3.   What is "opertunistic encryption" and why is it important?
4.  Do I need to use opertunistic encryption to accomplish what I want
to accomplish?
5.  Will the standard 2k and XP clients work without a lot of
configuration and any 3rd party products.


2. Remove LILO?

3. FreeSWAN IPsec and SSH Sentinel IPSec client

4. Surpress Server: Header

5. BayNetworks FreeSwan, IPSEC

6. ANNOUNCEMENT: OpenGL for Linux

7. uninstall freeswan (ipsec)


9. Win2k vs. Freeswan: No joy

10. !!! freeswan report IPsec SA established , but can not ping !!! ???

11. vpn: ipsec-freeswan on linux

12. freesWan Ipsec Installation

13. Freeswan ipsec VPN with one NATed gateway?