![]() |
|
|
|
|||
|
Hello,
I'm trying to do an ipsec tunnel using openbsd and client software : "Shrew Vpn client" (Windows xp) ; in first time i try it on my local network (not over internet). I ve also read man pages of ipsec.conf ; isakmpd ; ipsecctl Here what i ve done : On the openbsd (4.5) gateway (vpn.my.domain) ip: 192.168.0.111: **rc.conf.local : ipsec=YES isakmpd="-K" **ipsec.conf : ike dynamic from any to any \ main auth hmac-sha1 enc aes group modp1024 quick auth hmac-sha1 enc aes psk 123456A **pf is disable On the client side : Windows XP SP3 Shrew Vpn Client vers : 2.1.4 What i have done : **Remote host : 192.168.0.111 port 500 Auto config ike config pull ** Local Host : use a virtual adapter 10.0.0.1/24 ** Client Nat disable **Name resolution all is disable **Auth Local host : auto ip address Remote : auto ip address Credential : mutual PSK and entry the preshared key (123456A). **Phase 1 Exchange type : main **Phase 2 Exchange type : esp-aes **Policy Obtain automatically... When i try to connect i have the following message : "config loaded for site '192.168.0.111' configuring client settings ... attached to key daemon ... peer configured iskamp proposal configured esp proposal configured client configured pre-shared key configured bringing up tunnel ... invalid message from gateway tunnel disabled detached from key daemon . " I cant open ipsec tunnel, can you help me please ? Last edited by milo974; 21st July 2009 at 05:34 AM. Reason: something missing |
|
||||
|
Look for isakmpd negotiation errors in /var/log/daemon.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
here is deamon log file :
isakmpd[29133] : udp_create : no address configured for "peer defaut" isakmpd[29133] : exchange transport "udp" for peer default could not be created ; ; Im looking for isakmpd.conf, i haven't it ... Can you help me for this please ? Thank's a lot ! |
|
||||
|
Quote:
Quote:
Code:
isakmpd[29133] : udp_create : no address configured for "peer defaut" Code:
ike dynamic from any to any \ main auth hmac-sha1 enc aes group modp1024 quick auth hmac-sha1 enc aes psk 123456A Let me guess... you found this configuration in a "howto" somewhere on the Internet?
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Hello,
i ve not forgotten the "\". I don't see why it dosen't work, i need your help... |
|
||||
|
I have never used Shrew, and cannot assist you with that side of your configuration.
---- Correct your ipsec.conf settings:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
In my case, "passive ike" is not a good thing, because i want the final use it at home (i ve dynamic ip).
Can you help me ? Thank's |
|
||||
|
Have you tried any peer settings, Milo? What else have you tried?
We can't see your console from here. From your posts, it looks like you're not doing any testing, just waiting for someone to tell you what to type in. Try this ipsec.conf. Use passive, until you get this working, since you are testing this inside your local network. Note that this configuration does not use any-to-any: Code:
ike passive from any to 192.168.0.111 peer any \ main auth hmac-sha1 enc aes group modp1024 \ quick auth hmac-sha1 enc aes psk 123456A ike passive from 192.168.0.111 to any \ main auth hmac-sha1 enc aes group modp1024 \ quick auth hmac-sha1 enc aes psk 123456A # pkill isakAny error or success messages will appear on your console.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Hello,
Thank's a lot ! I ve done what you advise me : Put this in my ipsec.conf ike passive from any to 192.168.0.111 peer any \ main auth hmac-sha1 enc aes group modp1024 \ quick auth hmac-sha1 enc aes psk 123456A ike passive from 192.168.0.111 to any \ main auth hmac-sha1 enc aes group modp1024 \ quick auth hmac-sha1 enc aes psk 123456A I ve tested tunnel ipsec with GreenBow VPN Client, it works fine ! so thank you very much i will try this over internet.
Last edited by milo974; 22nd July 2009 at 05:20 AM. Reason: missing word |
![]() |
| Tags |
| ipsec, security, vpn |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mobile Broadband | adapa | OpenBSD General | 3 | 23rd February 2009 08:09 PM |
| openBSD IPSEC gateway w/WINDOWS XP roadwarrior | s2scott | OpenBSD Security | 7 | 13th January 2009 10:01 AM |
| ipsec with client nat | sicute | OpenBSD General | 0 | 30th October 2008 04:39 PM |
| IM Client | schrodinger | OpenBSD Packages and Ports | 6 | 16th September 2008 02:09 PM |
| DDNS Client | revzalot | OpenBSD Installation and Upgrading | 3 | 12th August 2008 02:21 AM |