<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Установка IPSEC/L2TP VPN на VPS]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=31821&amp;type=atom" />
	<updated>2013-11-13T19:33:02Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=31821</id>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375840#p375840" />
			<content type="html"><![CDATA[<p>Вот здесь написано как можно определить поддержку nat в iptables&nbsp; <a href="http://intfaq.ru/page/podderzhka-nat-v-iptables-na-vds-vps-po-tehnologii-openvz">Поддержка nat в iptables на VDS / VPS по технологии OpenVZ</a> </p><p>Я проверил. У меня вот что получается</p><div class="codebox"><pre><code>iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 25812 packets, 1566K bytes)
 pkts bytes target     prot opt in     out     source               destination                        

Chain POSTROUTING (policy ACCEPT 29088 packets, 2128K bytes)
 pkts bytes target     prot opt in     out     source               destination                        

Chain OUTPUT (policy ACCEPT 29088 packets, 2128K bytes)
 pkts bytes target     prot opt in     out     source               destination </code></pre></div><p>Получается что поддержка nat в iptables есть. </p><p>Поддержка nat в iptables и модуль nat, это разное или это одно и тоже?</p>]]></content>
			<author>
				<name><![CDATA[Malk]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31370</uri>
			</author>
			<updated>2013-11-13T19:33:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375840#p375840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375816#p375816" />
			<content type="html"><![CDATA[<p>Как сказали выше нету модуля nat. Трепите мозг ТП.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2013-11-13T17:45:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375816#p375816</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375809#p375809" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malk пишет:</cite><blockquote><div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>вывод покажите.<br />lsmod | grep nat</p></blockquote></div><p>На эту команду нет вывода</p><br /><p>На modprobe iptable_nat вот что</p><div class="codebox"><pre><code>modprobe iptable_nat
FATAL: Module iptable_nat not found.</code></pre></div></blockquote></div><p>ну тут надо идти в ТП так как модуля нет в системе</p>]]></content>
			<author>
				<name><![CDATA[lone_wolf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12648</uri>
			</author>
			<updated>2013-11-13T16:58:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375809#p375809</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375779#p375779" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>вывод покажите.<br />lsmod | grep nat</p></blockquote></div><p>На эту команду нет вывода</p><br /><p>На modprobe iptable_nat вот что</p><div class="codebox"><pre><code>modprobe iptable_nat
FATAL: Module iptable_nat not found.</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malk]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31370</uri>
			</author>
			<updated>2013-11-13T14:48:44Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375779#p375779</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375760#p375760" />
			<content type="html"><![CDATA[<p>вывод покажите.</p><div class="codebox"><pre><code>lsmod | grep nat</code></pre></div><p>скорее поможет<br /></p><div class="codebox"><pre><code>modprobe iptable_nat</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2013-11-13T13:53:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375760#p375760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375745#p375745" />
			<content type="html"><![CDATA[<p>Если указать output интерфейс то вот что:<br /></p><div class="codebox"><pre><code>iptables --table nat --append POSTROUTING -o ppp0--jump MASQUERADE
Bad argument `MASQUERADE&#039;
Try `iptables -h&#039; or &#039;iptables --help&#039; for more information.</code></pre></div><p>С пробелом между ppp0 --jump</p><div class="codebox"><pre><code>iptables --table nat --append POSTROUTING -o ppp0 --jump MASQUERADE
iptables: No chain/target/match by that name.</code></pre></div><div class="quotebox"><cite>SkaarjZR пишет:</cite><blockquote><p>Хотя, IIRC, iptables должен сам предупреждать об отсутвующем модуле.</p></blockquote></div><p>Я не уверен что модуль отсутствует. Как можно это проверить?</p>]]></content>
			<author>
				<name><![CDATA[Malk]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31370</uri>
			</author>
			<updated>2013-11-13T11:54:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375745#p375745</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375689#p375689" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malk пишет:</cite><blockquote><p>iptables --table nat --append POSTROUTING --jump MASQUERADE</p></blockquote></div><p>Во первых в правиле нужно указать output интерфейс<br /></p><div class="codebox"><pre><code>iptables --table nat --append POSTROUTING -o ppp0--jump MASQUERADE </code></pre></div><p>Вот по этому <a href="http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html#toc4.1">howto</a></p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2013-11-13T06:03:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375689#p375689</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375618#p375618" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malk пишет:</cite><blockquote><p>Видимо не хватает модуля в iptables для маскарадинга.</p></blockquote></div><p>Если так, то это надо в ТП обращаться.<br />Хотя, IIRC, iptables должен сам предупреждать об отсутвующем модуле.</p>]]></content>
			<author>
				<name><![CDATA[SkaarjZR]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6439</uri>
			</author>
			<updated>2013-11-12T19:38:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375618#p375618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375563#p375563" />
			<content type="html"><![CDATA[<p>Версия&nbsp; 1.4.7</p><div class="codebox"><pre><code>yum info iptables

Installed Packages
Name        : iptables
Arch        : x86_64
Version     : 1.4.7
Release     : 9.el6
Size        : 834 k
Repo        : installed
Summary     : Tools for managing Linux kernel packet filtering capabilities
URL         : http://www.netfilter.org/
License     : GPLv2
Description : The iptables utility controls the network packet filtering code in the
            : Linux kernel. If you need to set up firewalls and/or IP masquerading,
            : you should install this package.</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malk]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31370</uri>
			</author>
			<updated>2013-11-12T17:19:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375563#p375563</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375548#p375548" />
			<content type="html"><![CDATA[<p>А какая версия iptables</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2013-11-12T16:31:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375548#p375548</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Установка IPSEC/L2TP VPN на VPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=375407#p375407" />
			<content type="html"><![CDATA[<p>Есть VPS, cистема CentOS 6 64-bit, виртуализация OpenVZ. Хочу установить L2TP VPN. Устанавливаю по этим руководствам<br /><a href="https://raymii.org/s/tutorials/IPSEC_L2TP_vpn_on_CentOS_-_Red_Hat_Enterprise_Linux_or_Scientific_-_Linux_6.html">https://raymii.org/s/tutorials/IPSEC_L2 … nux_6.html</a><br /><a href="http://habrahabr.ru/post/155929/">http://habrahabr.ru/post/155929/</a><br /><a href="http://freenuts.com/how-to-set-up-a-l2tpipsec-vpn-in-a-vps/">http://freenuts.com/how-to-set-up-a-l2t … -in-a-vps/</a><br />Установил все необходимые пакеты программ. При вводе команды</p><div class="codebox"><pre><code>iptables --table nat --append POSTROUTING --jump MASQUERADE  
iptables: No chain/target/match by that name. </code></pre></div><p>Видимо не хватает модуля в iptables для маскарадинга.<br />Есть способы установить VPN без модуля маскарадинга? К VPN буду подключаться только я один. В поддержку обратиться возможности нет.</p>]]></content>
			<author>
				<name><![CDATA[Malk]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31370</uri>
			</author>
			<updated>2013-11-12T11:38:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=375407#p375407</id>
		</entry>
</feed>
