Networking Forums

Networking Forums > Computer Networking > Windows Networking > IPSec connection with preshared key

Reply
Thread Tools Display Modes

IPSec connection with preshared key

 
 
Someone
Guest
Posts: n/a

 
      04-02-2006, 02:47 PM
Hello,
I need to secure connection over Internet between Remote Desktop server and
client host (both are 2003 SP1).
I've made the following policy on client machine (Win2003):

netsh ipsec static add filterlist name=MyFilterList
netsh ipsec static add filter filterlist=MyFilterList srcaddr=Me
dstaddr=192.168.1.1 protocol=TCP mirrored=yes srcport=0 dstport=3389
netsh ipsec static add filteraction name=R qmpfs=no inpass=yes soft=yes
action=negotiate qmsecmethods="ESP[DES,SHA1]:100000k/3600s"
netsh ipsec static add policy name=MyPolicy mmpfs=no activatedefaultrule=yes
pollinginterval=5 assign=no
netsh ipsec static add rule name=MyRule policy=MyPolicy
filterlist=MyFilterList filteraction=R conntype=all psk=PresharedString

Where 192.168.1.1 is server's public IP.
The server policy is almost the same except filterlist:

netsh ipsec static add filter filterlist=MyFilterList srcaddr=Me dstaddr=Any
protocol=TCP mirrored=yes srcport=3389 dstport=0
netsh ipsec static add filter filterlist=MyFilterList srcaddr=Any dstaddr=Me
protocol=TCP mirrored=yes srcport=0 dstport=3389

Connection is establishing but after this something is wrong and connection
is failing without authorization screen.

Can you please help me?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
commandline setting of VPN preshared key? Rob Windows Networking 2 06-03-2010 03:06 PM
IPSec is very slow over ADSL connection George Valkov Windows Networking 13 08-09-2009 03:30 PM
VPN - Preshared Key not working csaran Windows Networking 3 04-12-2007 07:42 AM
IPsec VPN connection from Win XP SP2 Dennis Windows Networking 4 03-09-2005 07:32 AM
IPSec and 98 SE connection sharing Mike Windows Networking 1 11-22-2003 11:43 PM



1 2 3 4 5 6 7 8 9 10 11