有關架設VPN錯誤訊息 - Linux

By Margaret
at 2010-10-07T03:38
at 2010-10-07T03:38
Table of Contents
日前架設 L2TP IPsec VPN
其Server設定檔如下:
#---------------------------------------------------------#
path include "/etc/racoon";
path pre_shared_key "/etc/racoon/psk.txt";
path certificate "/etc/racoon/certs";
remote anonymous {
exchange_mode main;
generate_policy on;
certificate_type x509 "server.pem" "server.key" ;
verify_cert on;
my_identifier asn1dn;
peers_identifier asn1dn;
proposal {
authentication_method rsasig;
hash_algorithm sha1;
encryption_algorithm 3des;
dh_group modp1024;
lifetime time 1 hours;
}
}
sainfo anonymous {
lifetime time 1 hours;
encryption_algorithm 3des;
authentication_algorithm hmac_sha1;
compression_algorithm deflate ;
}
#---------------------------------------------------------#
當建立連線時logfile裡卻出現以下錯誤訊息:
#<<<<<<<<<<<<<<<<<<<<<<< 錯誤訊息 >>>>>>>>>>>>>>>>>>>>>>>>#
racoon: ERROR: invalid DH group 20.
racoon: ERROR: invalid DH group 19.
racoon: ERROR: rejected dh_group: DB(prop#1:trns#1):Peer(prop#1:trns#3) = 1024-bit MODP group:2048-bit MODP group
racoon: ERROR: no suitable proposal found.
racoon: ERROR: failed to get valid proposal.
racoon: ERROR: failed to process packet.
#<<<<<<<<<<<<<<<<<<<<<<< 錯誤訊息 >>>>>>>>>>>>>>>>>>>>>>>>#
看起來似乎是 dh_group 參數的問題
但是無論修改成什麼參數都會出現類似的問題
想請教一下該如何解決???
--
Tags:
Linux
All Comments
Related Posts
Grub Wubi 未分割

By Faithe
at 2010-10-06T23:26
at 2010-10-06T23:26
ubuntu 10.04連線

By Andy
at 2010-10-06T23:22
at 2010-10-06T23:22
請問Script的寫法

By Gilbert
at 2010-10-06T20:23
at 2010-10-06T20:23
如何把3G網卡的訊號鎖定在hsdpa?

By Caroline
at 2010-10-06T18:15
at 2010-10-06T18:15
Linux上練習寫C語言 有什麼推薦程式?

By Rae
at 2010-10-06T13:34
at 2010-10-06T13:34