Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPSec through a DSL modem

Reply
Thread Tools Display Modes

IPSec through a DSL modem

 
 
Hans Fugal
Guest
Posts: n/a

 
      05-23-2004, 10:43 PM
My modem (actiontec gt701-wg) claims to do "pass-through for IPSec"[1].
I'm not sure what to make of that claim.

I've seen tidbits on google groups that NAT-T and these modem
"pass-through" schemes don't mix, but there doesn't seem to be any way
to turn off the passthrough on this modem. I've tried racoon with nat
traversal turned on, and off, and always I get the same results.

2004-05-23 16:28:51: INFO: 172.17.0.3[500] used as isakmp port (fd=6)
2004-05-23 16:28:51: INFO: 127.0.0.1[500] used as isakmp port (fd=7)
2004-05-23 16:28:52: INFO: IPsec-SA request for 12.30.196.35 queued due
to no phase1 found.
2004-05-23 16:28:52: INFO: initiate new phase 1 negotiation:
172.17.0.3[500]<=>12.30.196.35[500]
2004-05-23 16:28:52: INFO: begin Aggressive mode.
2004-05-23 16:28:52: NOTIFY: couldn't find the proper pskey, try to get
one by the peer's address.
2004-05-23 16:28:52: INFO: ISAKMP-SA established
172.17.0.3[500]-12.30.196.35[500] spi:757b6e3418050890:b6f3686b34b200f8
2004-05-23 16:28:53: INFO: initiate new phase 2 negotiation:
172.17.0.3[0]<=>12.30.196.35[0]
2004-05-23 16:29:23: INFO: IPsec-SA expired: ESP/Tunnel
12.30.196.35->172.17.0.3 spi=210277140(0xc889314)
2004-05-23 16:29:23: WARNING: the expire message is received but the
handler has not been established.
2004-05-23 16:29:23: ERROR: 12.30.196.35 give up to get IPsec-SA due to
time up to wait.

tcpdump output

16:28:52.113679 172.17.0.3.isakmp > attinet.wencor.com.isakmp: isakmp:
phase 1 I agg: [|sa] (DF)
16:28:52.217726 attinet.wencor.com.isakmp > 172.17.0.3.isakmp: isakmp:
phase 1 R agg: [|sa]
16:28:52.228355 172.17.0.3.isakmp > attinet.wencor.com.isakmp: isakmp:
phase 1 I agg:
(hash: len=20) (DF)
16:28:52.228535 172.17.0.3.isakmp > attinet.wencor.com.isakmp: isakmp:
phase 2/others I inf[E]: [encrypted hash] (DF)
16:28:53.232673 172.17.0.3.isakmp > attinet.wencor.com.isakmp: isakmp:
phase 2/others I oakley-quick[E]: [encrypted hash] (DF)
16:29:03.230254 172.17.0.3.isakmp > attinet.wencor.com.isakmp: isakmp:
phase 2/others I oakley-quick[E]: [encrypted hash] (DF)
16:29:13.228432 172.17.0.3.isakmp > attinet.wencor.com.isakmp: isakmp:
phase 2/others I oakley-quick[E]: [encrypted hash] (DF)

The remote device is a netscreen ns25 device; I've tried it with nat-t
enabled and disabled, as well as udp checksums enabled and disabled with
nat-t.

If passthru is really messing with nat-t and I can't turn it off, then
how does one go about setting things up to work with this supposed
pass-through? Here are the interesting parts of the config files.

remote anonymous {
exchange_mode aggressive;
my_identifier user_fqdn "(E-Mail Removed)";
proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key;
dh_group modp1024;
}
generate_policy off;
nat_traversal off; # have tried on as well
}

sainfo anonymous {
pfs_group modp768;
encryption_algorithm 3des;
authentication_algorithm hmac_md5;
compression_algorithm deflate;
}

/etc/ipsec.conf
....
spdadd 0.0.0.0/0 172.16.0.0/16 any -P out ipsec
esp/tunnel/172.17.0.3-12.30.196.35/require;
spdadd 172.16.0.0/16 0.0.0.0/0 any -P in ipsec
esp/tunnel/12.30.196.35-172.17.0.3/require;


1. http://www.qwest.com/internet/dslhelp/faqs.html
 
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
Ipsec tunnel mode vs ip in ip with ipsec transport Reji Linux Networking 1 09-20-2011 04: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
IPSec transport mode or IPSec tunnel mode? Spin Windows Networking 1 07-01-2004 06:32 AM
VPN and IPSEC TomS Windows Networking 1 12-12-2003 07:28 AM
IPsec in 2.6 Bill Davidsen Linux Networking 0 11-02-2003 04:12 AM



1 2 3 4 5 6 7 8 9 10 11