Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help! HELP!! RedHat IPSEC <-> NAT router <-> SonicWall VPN

Reply
Thread Tools Display Modes

Help! HELP!! RedHat IPSEC <-> NAT router <-> SonicWall VPN

 
 
Sundial Services
Guest
Posts: n/a

 
      11-10-2004, 05:08 PM
The configuration is as follows:

(1) Local computer 192.168.254.X running on local network, running Red Hat
Enterprise Linux.
(2) NAT router connected to cable-modem outbound. Local address
192.168.254.254, public address 66.111.111.111 (say...)
(3) SonicWall router public on Internet 66.222.222.222 (say...) connected to
target network.
(4) Target machine is 192.160.30.X on target network.

Relevant entries in /etc/sysconfig/network-scripts config-file are:
IKE_METHOD=PSK
DST=66.222.222.222 (public address of SonicWall)
DSTNET=192.168.30.0/24
SRCNET=192.168.254.0/24
(correct shared-key string is elsewhere)

An "ip route to" statement in /etc/sysconfig/network-scripts/ifup-ipsec had
to be nopped-out to avoid runtime errors ("network is not accessible").

What happens with Racoon is: ipSec-tools 0.2.3)

"1 times of 244 bytes will be sent to..." (?!) 192.168.254.X (?!)
... plogdump of 244-byte message
"92 bytes message received from 66.222.222.222[500]"
"ignore message because message has no hash payload"
(above message repeated 3 times)
... and it quits.

At /one/ time in the past I received "hash incorrect" messages. I have not
gotten them lately and, of course, I do not know what I did differently.
But, at some time in the past, there was some hash-info coming in.

The configuration-file entry is:
remote 66.222.222.222 {
exchange_mode aggressive, main;
my_identifier address;
proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key;
dh_group 2;
} }


User at end-point site claims that no negotiation-failed messages have been
received on his end; but he's an affirmed Windows-head anyway. :-/ I find
it hard to believe because 92 bytes of information are certainly coming
from someone somewhere.

I am DESPERATE for help!

--- (E-Mail Removed)

 
Reply With Quote
 
 
 
 
Sundial Services
Guest
Posts: n/a

 
      11-11-2004, 02:32 PM
Sundial Services wrote:
> [blah blah blah...]
> I am DESPERATE for help!


And so far not getting any, I've been trying to debug the problem myself.
And getting somewhere. Here's what I found so far...

(1) Probably the most helpful web-site so far has been at OnLamp.Com,
"Cryptography: Debugging IPSEC."
http://www.onlamp.com/pub/a/bsd/2003...SD_Basics.html

(2) I found out how to run Racoon in debugging mode and found that all it
told me was that there was a failure in the phase-1 negotiation: "message
discarded because no hash payload." In other words, that there was a
problem but not what or why.

(3) At the web-site's suggestion I discovered "ethereal," which was on my
system but I didn't know it. Having learned that the phase-1 key
negotiation takes place on UDP Port 500, I sniffed the connection and was
able to =look= at the message that was being sent in reply. (Which Racoon
did not do! Maybe their developers never encounter errors?)

(4) The message says: "No proposal chosen." It even includes plain TEXT to
that effect! If only I had seen that before!

.... to be continued ...

 
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
Sonicwall TZ100 - does it work as a NAT router by default? Peter Broadband 13 10-28-2011 09:16 PM
Draytek 120 modem - Sonicwall TZ100 router - cannot get WAN to connect Peter Broadband 29 10-22-2011 07:29 PM
IPv6 + IPsec + ipsec-tools 0.6.[4567] + scope:link = no SA established phil-news-nospam@ipal.net Linux Networking 0 07-25-2007 09:01 PM
Can't get PCI Network Card to Work - Knoppix 4.0.2/Redhat 7.2/Redhat 8.0 deja@chronofish.com Linux Networking 0 11-20-2005 05:02 PM
VPN between sonicwall router to netgear router using ADSL - SOLVED kevin bailey Broadband 1 08-23-2005 03:24 PM



1 2 3 4 5 6 7 8 9 10 11