<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Strongswan_zu_racoon_cert</id>
	<title>Strongswan zu racoon cert - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Strongswan_zu_racoon_cert"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Strongswan_zu_racoon_cert&amp;action=history"/>
	<updated>2026-06-29T06:03:41Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Strongswan_zu_racoon_cert&amp;diff=12773&amp;oldid=prev</id>
		<title>Thomas: Die Seite wurde neu angelegt: „==Tunnel Parameter definieren== ;certs  /etc/ipsec.d/certs/huey.xinux.org.crt  /etc/ipsec.d/crls/xinux-ca.crl  /etc/ipsec.d/cacerts/xinux-ca.crt  /etc/ipsec.d/…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Strongswan_zu_racoon_cert&amp;diff=12773&amp;oldid=prev"/>
		<updated>2017-03-30T13:24:21Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „==Tunnel Parameter definieren== ;certs  /etc/ipsec.d/certs/huey.xinux.org.crt  /etc/ipsec.d/crls/xinux-ca.crl  /etc/ipsec.d/cacerts/xinux-ca.crt  /etc/ipsec.d/…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Tunnel Parameter definieren==&lt;br /&gt;
;certs&lt;br /&gt;
 /etc/ipsec.d/certs/huey.xinux.org.crt&lt;br /&gt;
 /etc/ipsec.d/crls/xinux-ca.crl&lt;br /&gt;
 /etc/ipsec.d/cacerts/xinux-ca.crt&lt;br /&gt;
 /etc/ipsec.d/private/huey.xinux.org.key&lt;br /&gt;
;Tunnelkonfiguration&lt;br /&gt;
/etc/ipsec.conf&lt;br /&gt;
 conn net&lt;br /&gt;
       keyexchange=ikev1&lt;br /&gt;
       authby=rsasig&lt;br /&gt;
       left=192.168.244.152&lt;br /&gt;
       leftsubnet=10.88.88.0/24&lt;br /&gt;
       leftid=&amp;quot;C=de, ST=rlp, L=zweibruecken, O=xinux, OU=edv, CN=dewey.xinux.org, E=technik@xinux.de&amp;quot;&lt;br /&gt;
       right=192.168.244.151&lt;br /&gt;
       rightid=&amp;quot;C=de, ST=rlp, L=zweibruecken, O=xinux, OU=edv, CN=huey.xinux.org, E=technik@xinux.de&amp;quot;&lt;br /&gt;
       rightsubnet=10.18.44.0/24&lt;br /&gt;
       rightcert=huey.xinux.org.crt&lt;br /&gt;
       ike=aes192-md5-modp1024&lt;br /&gt;
       esp=aes192-md5-modp1024&lt;br /&gt;
       auto=start&lt;br /&gt;
;X509 definieren&lt;br /&gt;
/etc/ipsec.secrets&lt;br /&gt;
 192.168.244.152 192.168.244.151 :  RSA huey.xinux.org.key &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Racoon ( X509 )=&lt;br /&gt;
==Tunnel Parameter definieren==&lt;br /&gt;
;certs&lt;br /&gt;
 /etc/racoon/certs/dewey.xinux.org.key&lt;br /&gt;
 /etc/racoon/certs/dewey.xinux.org.crt&lt;br /&gt;
 /etc/racoon/certs/ca.crl&lt;br /&gt;
 /etc/racoon/certs/ca.crt&lt;br /&gt;
;cd /etc/racoon/certs/&lt;br /&gt;
diese verlinkungen sind meiner meinung nach nicht mehr notwendig wenn man ca_type angibt&lt;br /&gt;
 ln -s ca.crt $(openssl x509 -noout -hash -in ca.crt).0&lt;br /&gt;
 ln -s ca.crl $(openssl x509 -noout -hash -in ca.crl).r0&lt;br /&gt;
;Tunnelkonfiguration&lt;br /&gt;
/etc/racoon/racoon.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
path certificate &amp;quot;/etc/racoon/certs&amp;quot;;&lt;br /&gt;
log debug;&lt;br /&gt;
&lt;br /&gt;
remote 192.168.244.151 {&lt;br /&gt;
        exchange_mode main;&lt;br /&gt;
        ca_type x509 &amp;quot;ca.crt&amp;quot;;&lt;br /&gt;
        certificate_type x509 &amp;quot;dewey.xinux.org.crt&amp;quot; &amp;quot;dewey.xinux.org.key&amp;quot;;&lt;br /&gt;
        my_identifier asn1dn;&lt;br /&gt;
        verify_cert on;&lt;br /&gt;
        peers_identifier asn1dn &amp;quot;C=de, ST=rlp, L=zweibruecken, O=xinux, OU=edv, CN=huey.xinux.org, emailAddress=technik@xinux.de&amp;quot;;&lt;br /&gt;
        proposal {&lt;br /&gt;
                encryption_algorithm aes192;&lt;br /&gt;
                hash_algorithm md5;&lt;br /&gt;
                authentication_method rsasig;&lt;br /&gt;
                dh_group 2;&lt;br /&gt;
        }&lt;br /&gt;
        generate_policy off;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sainfo address 10.88.88.0/24 any address 10.18.44.0/24 any {&lt;br /&gt;
        pfs_group modp1024;&lt;br /&gt;
        encryption_algorithm aes192;&lt;br /&gt;
        authentication_algorithm hmac_md5;&lt;br /&gt;
        compression_algorithm deflate;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
;SA Konfig&lt;br /&gt;
ipsec-tools.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/sbin/setkey -f&lt;br /&gt;
flush;&lt;br /&gt;
spdflush;&lt;br /&gt;
&lt;br /&gt;
spdadd 10.88.88.0/24  10.18.44.0/24 any -P out ipsec&lt;br /&gt;
    esp/tunnel/192.168.244.152-192.168.244.151/require;&lt;br /&gt;
&lt;br /&gt;
spdadd 10.18.44.0/24 10.88.88.0/24 any -P in ipsec&lt;br /&gt;
    esp/tunnel/192.168.244.151-192.168.244.152/require;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
</feed>