<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Настроил openvpn не работает]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=4172&amp;type=atom" />
	<updated>2010-06-07T12:12:04Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=4172</id>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60373#p60373" />
			<content type="html"><![CDATA[<p>да</p>]]></content>
			<author>
				<name><![CDATA[AlexLinux]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7342</uri>
			</author>
			<updated>2010-06-07T12:12:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60373#p60373</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60372#p60372" />
			<content type="html"><![CDATA[<p>Так, как я понимаю, клиент в локальной сети по впн должен попасть на сервер, который в той же локальной сети?</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-06-07T12:09:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60372#p60372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60371#p60371" />
			<content type="html"><![CDATA[<p>А где в openvpn.conf прописывает шлюз?</p>]]></content>
			<author>
				<name><![CDATA[AlexLinux]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7342</uri>
			</author>
			<updated>2010-06-07T12:06:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60371#p60371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60370#p60370" />
			<content type="html"><![CDATA[<p>а шлюз куда делся?</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-06-07T12:04:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60370#p60370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60368#p60368" />
			<content type="html"><![CDATA[<p>Подключение по локальной сети 5 - Ethernet адаптер:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; DNS-суффикс этого подключения . . :<br />&nbsp; &nbsp; &nbsp; &nbsp; Описание&nbsp; . . . . . . . . . . . . : TAP-Win32 Adapter V8<br />&nbsp; &nbsp; &nbsp; &nbsp; Физический адрес. . . . . . . . . : 00-FF-05-04-51-84<br />&nbsp; &nbsp; &nbsp; &nbsp; Dhcp включен. . . . . . . . . . . : да<br />&nbsp; &nbsp; &nbsp; &nbsp; Автонастройка включена&nbsp; . . . . . : да<br />&nbsp; &nbsp; &nbsp; &nbsp; IP-адрес&nbsp; . . . . . . . . . . . . : 10.10.10.6<br />&nbsp; &nbsp; &nbsp; &nbsp; Маска подсети . . . . . . . . . . : 255.255.255.252<br />&nbsp; &nbsp; &nbsp; &nbsp; Основной шлюз . . . . . . . . . . :<br />&nbsp; &nbsp; &nbsp; &nbsp; DHCP-сервер . . . . . . . . . . . : 10.10.10.5<br />&nbsp; &nbsp; &nbsp; &nbsp; DNS-серверы . . . . . . . . . . . : 217.115.80.1<br />&nbsp; &nbsp; &nbsp; &nbsp; Аренда получена . . . . . . . . . : 7 июня 2010 г. 18:00:23<br />&nbsp; &nbsp; &nbsp; &nbsp; Аренда истекает . . . . . . . . . : 7 июня 2011 г. 18:00:23</p>]]></content>
			<author>
				<name><![CDATA[AlexLinux]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7342</uri>
			</author>
			<updated>2010-06-07T12:02:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60368#p60368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60367#p60367" />
			<content type="html"><![CDATA[<p>Покажите айпишник и днс у клиента после подключения внп</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-06-07T11:54:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60367#p60367</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60364#p60364" />
			<content type="html"><![CDATA[<p>ip у centos 192.168.1.1 а&nbsp; &nbsp;машинка клиента 192.168.1.3 они в одной подсети</p>]]></content>
			<author>
				<name><![CDATA[AlexLinux]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7342</uri>
			</author>
			<updated>2010-06-07T11:43:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60364#p60364</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60362#p60362" />
			<content type="html"><![CDATA[<p>а откуда и куда вы коннектитесь по впн?</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-06-07T11:40:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60362#p60362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60360#p60360" />
			<content type="html"><![CDATA[<p>Локальная сеть с AD win2003ser <br />в ней на отдельном сегмети поднят centos 5.4 на настроен DNS squid sams под сеть 192.168.1.0/24 <br />На centos две сетивых одна смотрит в интернет (dhsp) другая в локалку (статика)</p>]]></content>
			<author>
				<name><![CDATA[AlexLinux]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7342</uri>
			</author>
			<updated>2010-06-07T11:34:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60360#p60360</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60358#p60358" />
			<content type="html"><![CDATA[<p>а теперь, если не сложно, опишите, как у Вас вообще это все организовано</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-06-07T11:25:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60358#p60358</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60357#p60357" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>local 192.168.1.1
port 1194
proto tcp
dev tun
ca ca.crt
cert surgut-mosap.ru.crt
key surgut-mosap.ru.key
#cert /etc/openvpn/surgut-mosap.ru.crt
#key /etc/openvpn/surgut-mosap.ru.key


dh dh1024.pem
server 10.10.10.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push &quot;route 0.0.0.0 255.255.255.0&quot;
#push &quot;dhcp-option DNS 192.168.1.1&quot;
push &quot;dhcp-option DNS 217.115.80.1&quot;
push &quot;redirect-gateway&quot;
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
verb 3
mute 10</code></pre></div>]]></content>
			<author>
				<name><![CDATA[AlexLinux]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7342</uri>
			</author>
			<updated>2010-06-07T11:22:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60357#p60357</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60355#p60355" />
			<content type="html"><![CDATA[<p>настройки впн покажите хоть</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-06-07T11:17:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60355#p60355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Настроил openvpn не работает]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=60350#p60350" />
			<content type="html"><![CDATA[<p>Настроил openvpn клиент на windows XP законектился а вот интернет не работает Что делать?<br />Правила iptables<br /></p><div class="codebox"><pre><code>#!/bin/sh

# маски используемых сетей


IP_LAN=&quot;192.168.1.0/24&quot; # моя домашняя сеть
IP_PROVIDER=&quot;10.0.0.1/8&quot; # локальная сеть провайдера

# интерфейсы
IF_EXT=&quot;eth1&quot; # сюда подключен Ethernet от провайдера
IF_LAN=&quot;eth0&quot; # сюда подключена локальная сеть
IF_INET=&quot;ppp0&quot; # сюда &quot;подключен&quot; интернет
IF_VPN=&quot;tun0&quot; # это интерфейс нашего vpn

IPT=&quot;iptables&quot;

# cleaning:
$IPT --flush
$IPT -t nat --flush
$IPT -t mangle --flush
$IPT -X

# тут по желанию и степени паранои
$IPT -P INPUT ACCEPT
$IPT -P OUTPUT ACCEPT
$IPT -P FORWARD ACCEPT

# allow loopback
$IPT -A INPUT -i lo -j ACCEPT
$IPT -A OUTPUT -o lo -j ACCEPT

###
# local host:

# allow outgoing connections:
$IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPT -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

# разрешаем подключения к vpn
$IPT -A INPUT -p tcp --dport 443 -j ACCEPT

$IPT -I FORWARD 1 -i eth0 -o tun0 -j ACCEPT
$IPT -I FORWARD 1 -o eth0 -i tun0 -j ACCEPT</code></pre></div>]]></content>
			<author>
				<name><![CDATA[AlexLinux]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7342</uri>
			</author>
			<updated>2010-06-07T11:03:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=60350#p60350</id>
		</entry>
</feed>
