openswan 做ipsec nat 的問題~

看板NetSecurity (資安 資訊安全)作者 (史卡廢~上班是為了等下班)時間16年前 (2008/10/08 00:11), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
※ [本文轉錄自 Linux 看板] 作者: scarface (史卡廢~上班是為了等下班) 看板: Linux 標題: openswan 做ipsec nat 的問題~ 時間: Tue Oct 7 19:10:24 2008 我的配置如下 A---------------eth0 router eth1-------------B 192.168.1.100 192.168.1.1 192.168.2.1 192.168.2.100 ipsec.conf: config setup nat_traversal=yes plutowait=yes nhelpers=0 conn %default conn test authby=secret auto=add keyingtries=3 left=192.168.2.1 pfs=no rekey=no right=192.168.2.100 #Disable Opportunistic Encryption include /etc/ipsec.d/examples/no_oe.conf ipsec.secrets: : PSK "1234567890" A是win xp 用mmc 開ipsec的功能 B是裝openswan的linux 目前沒辦法連上(動作是 A ping B) 用wireshark 看 在exchange key 之後 A會送一個 identification 的 payload給 B 可是 B會回送一個 hash的 payload 給A 查看/var/log/message 有這一段 Oct 8 18:37:27 haha pluto[6387]: "test" #1: Main mode peer ID is ID_IPV4_ADDR: '192.168.1.100' Oct 8 18:37:27 haha pluto[6387]: "test" #1: no suitable connection for peer '192.168.1.100' Oct 8 18:37:27 haha pluto[6387]: "test" #1: sending encrypted notification INVALID_ID_INFORMATION to 192.168.2.1: (太長了@_@...) 請問是我的conf有什麼地方寫錯嗎??~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.228.151.221 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.56.214
文章代碼(AID): #18wuetqD (NetSecurity)
文章代碼(AID): #18wuetqD (NetSecurity)