<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://megapuper.ru/index.php?action=history&amp;feed=atom&amp;title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F</id>
	<title>OpenVPN - построение туннеля - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://megapuper.ru/index.php?action=history&amp;feed=atom&amp;title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F"/>
	<link rel="alternate" type="text/html" href="http://megapuper.ru/index.php?title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F&amp;action=history"/>
	<updated>2026-05-03T17:16:07Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://megapuper.ru/index.php?title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F&amp;diff=158874&amp;oldid=prev</id>
		<title>Root в 17:32, 16 мая 2020</title>
		<link rel="alternate" type="text/html" href="http://megapuper.ru/index.php?title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F&amp;diff=158874&amp;oldid=prev"/>
		<updated>2020-05-16T17:32:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Версия 17:32, 16 мая 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot; &gt;Строка 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; -----END OpenVPN Static key V1-----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; -----END OpenVPN Static key V1-----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Этим ключом будем шифровать наш &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;тунель&lt;/del&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Этим ключом будем шифровать наш &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;туннель&lt;/ins&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l66&quot; &gt;Строка 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 66:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 10.10.10.2 #ip-адрес точки VPN на ROUTER_2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 10.10.10.2 #ip-адрес точки VPN на ROUTER_2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ifconfig 10.10.10.1 10.10.10.2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ifconfig 10.10.10.1 10.10.10.2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; secret /usr/local/etc/openvpn/tun0.key #ключ шифрования для &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;тунеля&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; secret /usr/local/etc/openvpn/tun0.key #ключ шифрования для &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;туннеля&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot; &gt;Строка 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 10.10.10.2 #ip-адрес точки VPN на ROUTER_2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 10.10.10.2 #ip-адрес точки VPN на ROUTER_2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ifconfig 10.10.10.2 10.10.10.1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ifconfig 10.10.10.2 10.10.10.1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; secret /usr/local/etc/openvpn/tun0.key #ключ шифрования для &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;тунеля&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; secret /usr/local/etc/openvpn/tun0.key #ключ шифрования для &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;туннеля&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
		
	</entry>
	<entry>
		<id>http://megapuper.ru/index.php?title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F&amp;diff=175&amp;oldid=prev</id>
		<title>Root в 18:04, 3 декабря 2013</title>
		<link rel="alternate" type="text/html" href="http://megapuper.ru/index.php?title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F&amp;diff=175&amp;oldid=prev"/>
		<updated>2013-12-03T18:04:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Версия 18:04, 3 декабря 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l117&quot; &gt;Строка 117:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 117:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Проверяем: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Проверяем: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# ifconfig&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;# ifconfig&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;tun0: flags=8051&amp;lt;UP,POINTOPOINT,RUNNING,MULTICAST&amp;gt; metric 0 mtu 1500&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;tun0: flags=8051&amp;lt;UP,POINTOPOINT,RUNNING,MULTICAST&amp;gt; metric 0 mtu 1500&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/del&gt;options=80000&amp;lt;LINKSTATE&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &lt;/ins&gt;options=80000&amp;lt;LINKSTATE&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/del&gt;inet6 fe80::2e0:52ff:fe98:917b%tun0 prefixlen 64 scopeid 0xa &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &lt;/ins&gt;inet6 fe80::2e0:52ff:fe98:917b%tun0 prefixlen 64 scopeid 0xa &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/del&gt;inet 10.10.10.2 --&amp;gt; 10.10.10.1 netmask 0xffffffff &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &lt;/ins&gt;inet 10.10.10.2 --&amp;gt; 10.10.10.1 netmask 0xffffffff &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/del&gt;nd6 options=29&amp;lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &lt;/ins&gt;nd6 options=29&amp;lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &lt;/del&gt;Opened by PID 2524&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160;  &lt;/ins&gt;Opened by PID 2524&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
		
	</entry>
	<entry>
		<id>http://megapuper.ru/index.php?title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F&amp;diff=174&amp;oldid=prev</id>
		<title>Root: Новая страница: «'''OpenVPN''' — свободная реализация технологии Виртуальной Частной Сети (VPN) с открытым исход…»</title>
		<link rel="alternate" type="text/html" href="http://megapuper.ru/index.php?title=OpenVPN_-_%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8F&amp;diff=174&amp;oldid=prev"/>
		<updated>2013-12-03T18:02:18Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «&amp;#039;&amp;#039;&amp;#039;OpenVPN&amp;#039;&amp;#039;&amp;#039; — свободная реализация технологии Виртуальной Частной Сети (VPN) с открытым исход…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''OpenVPN''' — свободная реализация технологии Виртуальной Частной Сети (VPN) с открытым исходным кодом для создания зашифрованных каналов типа точка-точка или сервер-клиенты между компьютерами. Она позволяет устанавливать соединения между компьютерами, находящимися за NAT-firewall, без необходимости изменения их настроек. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Задача заключается в создании простого туннеля между двумя серверами, подключенными к Интернет. Приступаем. Имеется два сервера: первый с FreeBSD_8.3 - ROUTER_1 и второй с FreeBSD_9.0 - ROUTER_2. Первым делом проверяем наличие псевдоустройства tun в системах, если его нет либо пересобираем ядро добавив в конфиг строчку: &lt;br /&gt;
 device tun # Packet tunnel&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
либо подгружаем модулем:&lt;br /&gt;
 # kldload /boot/kernel/if_tun.ko&lt;br /&gt;
&lt;br /&gt;
проверяем:&lt;br /&gt;
 #kldstat -v | grep tun&lt;br /&gt;
 368 if_tun&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Чтобы модуль подгружался со стартом системы, прописываем его в rc.conf: &lt;br /&gt;
 # echo 'if_tun_load=&amp;quot;YES&amp;quot;' &amp;gt;&amp;gt; /boot/loader.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 IP-первого сервера 109.172.52.115&lt;br /&gt;
 IP-второго сервера 95.30.222.10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Настраиваем ROUTER_1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Ставим OpenVPN: &lt;br /&gt;
 # cd /usr/ports/security/openvpn/&lt;br /&gt;
 # make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
После установки создаём папку для конфигов и ключ шифрования: &lt;br /&gt;
 # mkdir /usr/local/etc/openvpn&lt;br /&gt;
 # openvpn --genkey --secret /usr/local/etc/openvpn/tun0.key&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Посмотрим ключ: &lt;br /&gt;
 # ee /usr/local/etc/openvpn/tun0.key&lt;br /&gt;
 #&lt;br /&gt;
 # 2048 bit OpenVPN static key&lt;br /&gt;
 #&lt;br /&gt;
 -----BEGIN OpenVPN Static key V1-----&lt;br /&gt;
 a360ff2cdf87aed7f66f22f8ff55aad7&lt;br /&gt;
 673ff62d9bcc1c05e429c1f00593ea02&lt;br /&gt;
 0e107b070f21a52e0918b5d5066d753e&lt;br /&gt;
 6db27c86dc58b5e61a6f0a89016d21d9&lt;br /&gt;
 a943e0d5b46dad753c66711ee2cf318f&lt;br /&gt;
 rg4jmecfr43c487b36c34cfb43g4jnfg84&lt;br /&gt;
 a4529eaa942dc6afc8c1469960f4ba53&lt;br /&gt;
 c6a39e06d091e620155ca0e86a12a19b&lt;br /&gt;
 3cfr234v45rvn4tvu4tmbc48bv487483&lt;br /&gt;
 2bf14502fb4e42cead5fc3f0af9f7096&lt;br /&gt;
 c3e3bbf7e2d8318b9b85292cb46732fb&lt;br /&gt;
 dd0f72fadba94c1d1d87315db2b00e6f&lt;br /&gt;
 820e5c3bfbf8afddafa7b4dc2aeb2448&lt;br /&gt;
 43gjkh4r5y432cf437fv62379d87389f79&lt;br /&gt;
 a52bd8c74c5e6675a1ebb2b4e1558128&lt;br /&gt;
 20dc505909007b91594452ed67fd9e74&lt;br /&gt;
 -----END OpenVPN Static key V1-----&lt;br /&gt;
 &lt;br /&gt;
Этим ключом будем шифровать наш тунель. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Затем создаём конфиг &amp;lt;code bash&amp;gt;/usr/local/etc/openvpn/openvpn.conf&amp;lt;/code&amp;gt; вида: &lt;br /&gt;
 dev tun0 #создаем устройство tun&lt;br /&gt;
 remote 95.30.222.10 #ip-адрес удаленного пира&lt;br /&gt;
 10.10.10.1 #ip-адрес точки VPN на ROUTER_1&lt;br /&gt;
 10.10.10.2 #ip-адрес точки VPN на ROUTER_2&lt;br /&gt;
 ifconfig 10.10.10.1 10.10.10.2&lt;br /&gt;
 secret /usr/local/etc/openvpn/tun0.key #ключ шифрования для тунеля&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Для автозапуска OpenVPN добаляем в &amp;lt;code bash&amp;gt;/etc/rc.conf&amp;lt;/code&amp;gt;: &lt;br /&gt;
 openvpn_enable=&amp;quot;YES&amp;quot;&lt;br /&gt;
 openvpn_configfile=&amp;quot;/usr/local/etc/openvpn/openvpn.conf&amp;quot;&lt;br /&gt;
 openvpn_dir=&amp;quot;/usr/local/etc/openvpn&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Запускаем: &lt;br /&gt;
 # /usr/local/etc/rc.d/openvpn start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Проверяем: &lt;br /&gt;
 # ifconfig&lt;br /&gt;
 tun0: flags=8051&amp;lt;UP,POINTOPOINT,RUNNING,MULTICAST&amp;gt; metric 0 mtu 1500&lt;br /&gt;
         options=80000&amp;lt;LINKSTATE&amp;gt;&lt;br /&gt;
         inet 10.10.10.1 --&amp;gt; 10.10.10.2 netmask 0xffffffff &lt;br /&gt;
         Opened by PID 6638&lt;br /&gt;
Всё в порядке. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Настраиваем ROUTER_2'''&amp;lt;br/&amp;gt;&lt;br /&gt;
По аналогии ставим из портов openvpn. Создаём папку для конфигов и файлик для ключа: &lt;br /&gt;
 # mkdir /usr/local/etc/openvpn&lt;br /&gt;
 # touch /usr/local/etc/openvpn/tun0.key&lt;br /&gt;
 # chmod 600 /usr/local/etc/openvpn/tun0.key&lt;br /&gt;
&lt;br /&gt;
Заливаем туда содержимое tun0.key с ROUTER_1 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Создаём конфиг /usr/local/etc/openvpn/openvpn.conf вида: &lt;br /&gt;
 dev tun0 #создаем устройство tun&lt;br /&gt;
 remote 109.172.52.115 #ip-адрес удаленного пира&lt;br /&gt;
 10.10.10.1 #ip-адрес точки VPN на ROUTER_1&lt;br /&gt;
 10.10.10.2 #ip-адрес точки VPN на ROUTER_2&lt;br /&gt;
 ifconfig 10.10.10.2 10.10.10.1&lt;br /&gt;
 secret /usr/local/etc/openvpn/tun0.key #ключ шифрования для тунеля&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Для автозапуска OpenVPN добаляем в &amp;lt;code bash&amp;gt;/etc/rc.conf&amp;lt;/code&amp;gt;:&lt;br /&gt;
 openvpn_enable=&amp;quot;YES&amp;quot;&lt;br /&gt;
 openvpn_configfile=&amp;quot;/usr/local/etc/openvpn/openvpn.conf&amp;quot;&lt;br /&gt;
 openvpn_dir=&amp;quot;/usr/local/etc/openvpn&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Запускаем:&lt;br /&gt;
 # /usr/local/etc/rc.d/openvpn start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Проверяем: &lt;br /&gt;
# ifconfig&lt;br /&gt;
tun0: flags=8051&amp;lt;UP,POINTOPOINT,RUNNING,MULTICAST&amp;gt; metric 0 mtu 1500&lt;br /&gt;
    options=80000&amp;lt;LINKSTATE&amp;gt;&lt;br /&gt;
    inet6 fe80::2e0:52ff:fe98:917b%tun0 prefixlen 64 scopeid 0xa &lt;br /&gt;
    inet 10.10.10.2 --&amp;gt; 10.10.10.1 netmask 0xffffffff &lt;br /&gt;
    nd6 options=29&amp;lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&amp;gt;&lt;br /&gt;
    Opened by PID 2524&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Всё в порядке. Пингуем с обоих роутеров доступность «другой» стороны туннеля.&amp;lt;br/&amp;gt;&lt;br /&gt;
ROUTER_1: &lt;br /&gt;
 # ping 10.10.10.2&lt;br /&gt;
 PING 10.10.10.2 (10.10.10.2): 56 data bytes&lt;br /&gt;
 64 bytes from 10.10.10.2: icmp_seq=0 ttl=64 time=20.093 ms&lt;br /&gt;
 64 bytes from 10.10.10.2: icmp_seq=1 ttl=64 time=20.097 ms&lt;br /&gt;
 64 bytes from 10.10.10.2: icmp_seq=2 ttl=64 time=20.136 ms&lt;br /&gt;
 ^C&lt;br /&gt;
 --- 10.10.10.2 ping statistics ---&lt;br /&gt;
 3 packets transmitted, 3 packets received, 0.0% packet loss&lt;br /&gt;
 round-trip min/avg/max/stddev = 20.093/20.109/20.136/0.019 ms&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ROUTER_2: &lt;br /&gt;
 # ping 10.10.10.1&lt;br /&gt;
 PING 10.10.10.1 (10.10.10.1): 56 data bytes&lt;br /&gt;
 64 bytes from 10.10.10.1: icmp_seq=0 ttl=64 time=20.554 ms&lt;br /&gt;
 64 bytes from 10.10.10.1: icmp_seq=1 ttl=64 time=20.156 ms&lt;br /&gt;
 64 bytes from 10.10.10.1: icmp_seq=2 ttl=64 time=20.137 ms&lt;br /&gt;
 ^C&lt;br /&gt;
 --- 10.10.10.1 ping statistics ---&lt;br /&gt;
 3 packets transmitted, 3 packets received, 0.0% packet loss&lt;br /&gt;
 round-trip min/avg/max/stddev = 20.137/20.282/20.554/0.192 ms&lt;br /&gt;
&lt;br /&gt;
Все зе бест. На этом построение туннеля завершено. Дальше дело за маршрутизацией…&lt;/div&gt;</summary>
		<author><name>Root</name></author>
		
	</entry>
</feed>