<?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=Xl2tpd-openswan-client</id>
	<title>Xl2tpd-openswan-client - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Xl2tpd-openswan-client"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Xl2tpd-openswan-client&amp;action=history"/>
	<updated>2026-06-29T01:19:18Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Xl2tpd-openswan-client&amp;diff=13886&amp;oldid=prev</id>
		<title>Thomas: Die Seite wurde neu angelegt: „==Installation==  apt-get install  xl2tpd ppp openswan ==ipsec==  cat /etc/ipsec.conf  version	2.0	# conforms to second version of ipsec.conf specification  co…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Xl2tpd-openswan-client&amp;diff=13886&amp;oldid=prev"/>
		<updated>2017-09-07T09:20:23Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „==Installation==  apt-get install  xl2tpd ppp openswan ==ipsec==  cat /etc/ipsec.conf  version	2.0	# conforms to second version of ipsec.conf specification  co…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Installation==&lt;br /&gt;
 apt-get install  xl2tpd ppp openswan&lt;br /&gt;
==ipsec==&lt;br /&gt;
 cat /etc/ipsec.conf&lt;br /&gt;
 version	2.0	# conforms to second version of ipsec.conf specification&lt;br /&gt;
 config setup&lt;br /&gt;
 	dumpdir=/var/run/pluto/&lt;br /&gt;
 	protostack=netkey&lt;br /&gt;
 	nat_traversal=yes&lt;br /&gt;
 	virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:25.0.0.0/8,%v6:fd00::/8,%v6:fe80::/10&lt;br /&gt;
 	oe=off&lt;br /&gt;
        &lt;br /&gt;
 conn  yourconn&lt;br /&gt;
 	authby=secret&lt;br /&gt;
       pfs=no&lt;br /&gt;
       auto=add&lt;br /&gt;
       keyingtries=3&lt;br /&gt;
       dpddelay=30&lt;br /&gt;
       dpdtimeout=120&lt;br /&gt;
       dpdaction=clear&lt;br /&gt;
       rekey=yes&lt;br /&gt;
       ikelifetime=8h&lt;br /&gt;
       keylife=1h&lt;br /&gt;
       type=transport&lt;br /&gt;
       left=%defaultroute&lt;br /&gt;
       leftprotoport=17/1701&lt;br /&gt;
       right=yourvpnserver.com&lt;br /&gt;
       rightprotoport=17/1701&lt;br /&gt;
&lt;br /&gt;
 cat /etc/ipsec.secrets&lt;br /&gt;
 %any yourvpnserver.com : PSK &amp;quot;pissespisse&amp;quot;&lt;br /&gt;
==xl2tp==&lt;br /&gt;
 cat /etc/xl2tpd/xl2tpd.conf&lt;br /&gt;
 [lac vpn-connection]&lt;br /&gt;
 lns = yourvpnserver.com&lt;br /&gt;
 ppp debug = yes&lt;br /&gt;
 pppoptfile = /etc/ppp/options.l2tpd.client&lt;br /&gt;
 length bit = yes&lt;br /&gt;
==ppp==&lt;br /&gt;
 cat /etc/ppp/options.l2tpd.client &lt;br /&gt;
 ipcp-accept-local&lt;br /&gt;
 ipcp-accept-remote&lt;br /&gt;
 refuse-eap&lt;br /&gt;
 require-mschap-v2&lt;br /&gt;
 noccp&lt;br /&gt;
 noauth&lt;br /&gt;
 idle 1800&lt;br /&gt;
 mtu 1410&lt;br /&gt;
 mru 1410&lt;br /&gt;
 defaultroute&lt;br /&gt;
 usepeerdns&lt;br /&gt;
 debug&lt;br /&gt;
 lock&lt;br /&gt;
 connect-delay 5000&lt;br /&gt;
 name xinux&lt;br /&gt;
 password suxer&lt;br /&gt;
&lt;br /&gt;
==Start Script==&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
  case $1 in&lt;br /&gt;
 start)&lt;br /&gt;
  /etc/init.d/ipsec restart&lt;br /&gt;
  sleep 1&lt;br /&gt;
  ipsec auto --up yourconn&lt;br /&gt;
  sleep 1&lt;br /&gt;
  /etc/init.d/xl2tpd start&lt;br /&gt;
  sleep 1&lt;br /&gt;
  echo &amp;quot;c vpn-connection&amp;quot; &amp;gt; /var/run/xl2tpd/l2tp-control&lt;br /&gt;
  sleep 5&lt;br /&gt;
  ip route add 192.168.240.0/21 via 172.28.6.1&lt;br /&gt;
 ;;&lt;br /&gt;
 stop)&lt;br /&gt;
  ip route del 192.168.240.0/21&lt;br /&gt;
  echo &amp;quot;d vpn-connection&amp;quot; &amp;gt; /var/run/xl2tpd/l2tp-control&lt;br /&gt;
  /etc/init.d/xl2tpd stop&lt;br /&gt;
  ipsec auto --down yourconn&lt;br /&gt;
  /etc/init.d/ipsec stop&lt;br /&gt;
 ;;&lt;br /&gt;
 esac&lt;/div&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
</feed>