creetz
Goto Top

Racoon VPN-Verbindung mit Bintec VPN Access 25

Hallo, ich habe Suse 10.1 laufen und versuche mittels Racoon eine VPN-Verbindung zu einem Bintec Bintec VPN Access 25 herzustellen. Das scheint auch zu funktionieren, aber leider komme keine Pakete durch den Tunnel durch. Weder "Ping" noch "telnet" funktioniert.

Anbei meine Konfigs .. vllt. hat ja einer eine Idee die mir weiterhilft.


racoon.conf

[code]

path include "/etc/racoon";
path pre_shared_key "/etc/racoon/psk.txt";
path certificate "@sysconfdir_x@/cert";


  1. "padding" defines some padding parameters. You should not touch these.
padding
{
maximum_length 20; # maximum padding length.
randomize off; # enable randomize length.
strict_check off; # enable strict check.
exclusive_tail off; # extract last one octet.
}

  1. if no listen directive is specified, racoon will listen on all
  2. available interface addresses.
listen
{

isakmp 192.168.1.22 [500];
isakmp 192.168.1.22 [4500];
#isakmp ::1 [7000];
#isakmp 202.249.11.124 [500];
#admin [7002]; # administrative port for racoonctl.
#strict_address; # requires that all addresses must be bound.
}


  1. Specify various default timers.
timer
{
counter 5; # maximum trying count to send.
interval 20 sec; # maximum interval to resend.
persend 1; # the number of packets per send.

phase1 30 sec;
phase2 15 sec;
}

remote anonymous
{
exchange_mode aggressive;
verify_identifier on;
my_identifier user_fqdn "remote@bintec.de";
peers_identifier user_fqdn "zentrale@bintec.de";
doi ipsec_doi;
situation identity_only;

#certificate_type x509 "my.cert.pem" "my.key.pem";

nonce_size 16;
initial_contact on;
proposal_check obey; # obey, strict, or claim

proposal {
encryption_algorithm 3des;
hash_algorithm md5;
authentication_method pre_shared_key;
dh_group 2;
}
}


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

sainfo subnet 192.168.1.0/24 any subnet 10.22.0.0/24 any
{
pfs_group 2;
encryption_algorithm 3des;
authentication_algorithm hmac_md5;
compression_algorithm deflate;
}


[/code]


setkey.conf

[code]
  1. This is a sample setkey.conf

  1. First of all flush the SPD database
spdflush;

  1. Add some SPD rules
  2. Very likely you'll want to replace these rules with your own ones
spdadd 127.0.0.0/8 127.0.0.0/8 any -P out none;
spdadd 127.0.0.0/8 127.0.0.0/8 any -P in none;

spdadd 192.168.1.0/24 10.22.0.0/24 any -P out ipsec
esp/tunnel/192.168.1.22-85.116.x.x/unique;

spdadd 10.22.0.0/24 192.168.1.0/24 any -P out ipsec
esp/tunnel/85.116.x.x-192.168.1.22/unique;
[/code]


Weiterhin habe ich in der racoon (unter init.d) einen Eintrag gemacht, welcher mir eine Route zum Zielnetz über Eth0 erstellt.

Jmd ne Idee wo der Fehler liegen könnte ?

Gruß aus Mainz,
Nico

Content-Key: 42297

Url: https://administrator.de/contentid/42297

Ausgedruckt am: 29.03.2024 um 14:03 Uhr

Mitglied: creetz
creetz 17.10.2006 um 17:19:13 Uhr
Goto Top
Sobald ich NAT T aktiviere bekomme ich die Fehlermeldung

ERROR: the length in the isakmp header is too big

Niemand ne Idee ?
Mitglied: otto-normal
otto-normal 01.12.2006 um 11:21:30 Uhr
Goto Top
Hallo Nico,
arbeit gerade daran, bis Suse10.0 hatte meine Konfiguration noch funktioniert.
Aktueller Stand: Aus dem Netz mit Bintec-Router wird der Linux-Router erreicht aber nicht umgekehrt.
Suche im Heuhaufen ist Trumpf.

Gruß aus Ober-Olm
Walter
Mitglied: creetz
creetz 01.12.2006 um 11:36:20 Uhr
Goto Top
Hi, noch ein Ober-Olmer mit derselben Herausforderung. Das nenne ich ja mal Zufall. face-wink Hab das Thema aber zur Zeit etwas hinten angestellt weil ich andere Sachen zu tun hatte und auch nicht wirklich weiter gekommen bin hier. Also falls du was herausfindest wäre es nett wenn du wieder hier postest.

Gruß auch aus Ober-Olm face-wink,
Nico

P.S.: Das mit dem NAT-Problem konnte so gelöst werden:

listen
{ isakmp x.x.x.x [500];
isakmp_natt x.x.x.x [4500];
}