Форум Kerio-rus  

Вернуться   Форум Kerio-rus > Продукты > Kerio Control (бывший Winroute Firewall)

Ответ
 
Опции темы
Старый 27.08.2008, 15:58   #1
 
Регистрация: 27.08.2008
Адрес: ТочикистонаМА, Душанбе
Сообщений: 13

По умолчанию ВПН и подключение по требованию.

Здравствуйте! Подскажите пожалуйста, как мне решить след. проблему?
Ситуация следующая: компьютер (сервер) имеет VPN подключение к провайдеру для доступа в интернет. На компе стоит файрфол Kerio Winrout Firewall. Как мне средствами этого файрвола сделать автоматические подключение к провайдеру ПО ТРЕБОВАНИЮ ЛОКАЛЬНОЙ СЕТИ? То есть при обнаружении попытки выхода в инет из локалки, файрвол начинает автоматический дозвон VPN соединения, а после простоя некоторого времени, происходило бы разъединение. Само по себе соединение работает стабильно, как в ручном режиме, так и в режиме «постоянное». Инфо по серваку: WinServer 2003, DNS, DHCP, AD controller, WINS. И заранее прошу извинения, если такая тема уже существует.
Aeronaft вне форума   Ответить с цитированием
Старый 27.08.2008, 16:58   #2
Clairvoyant
 
 
Регистрация: 19.07.2006
Адрес: Пенза-Москва
Сообщений: 6,922

По умолчанию

Aeronaft,
VPN соединение в винде надо создать "для всех пользователей", потом забиндить это соединение в KWF-interfaces и поставить ему тип dial on demand. (при этом логин с паролем лучше вбить вручную, а не импортить из винды)
__________________

керио
С.С. Горбунков вне форума   Ответить с цитированием
Старый 27.08.2008, 17:37   #3
 
Регистрация: 27.08.2008
Адрес: ТочикистонаМА, Душанбе
Сообщений: 13

По умолчанию

К сожалению этот вариант не прокатил. Все сделал соостветственно твоей рекомендации. Но, просьба, просмори ещё раз инфо о серваке, на нём крутится ДНС, прочитав мануал меня насторожил пункт 11.3 (руководство администратора), так вот там есть несколько нюансов при работе с ДНСками. У меня подозрение что копать нужно там, но где именно я так и не воткнул.
Aeronaft вне форума   Ответить с цитированием
Старый 27.08.2008, 17:50   #4
Clairvoyant
 
 
Регистрация: 19.07.2006
Адрес: Пенза-Москва
Сообщений: 6,922

По умолчанию

Aeronaft,
скриншоты выкладывай, интерфейсы, трафик полиси, в общем, всё что положено. ipconfig /all не забудь.

в мануале вот еще написано такое:
Код:
Second, there must be no default gateway in the operating system (no default gateway must be defined for any network adapter)
прочел повнимательнее - выяснилось, что на контроллере домена подобное неосуществимо:
Код:

                      
  1. Demand dial cannot be performed directly from the host where WinRoute is installed because it is initiated by WinRoute low-lever driver. This driver holds packets and decides whether the line should be dialed or not. If the line is disconnected and a packet is sent from the local host to the Internet, the packet will be dropped by the operating system before the WinRoute driver is able to capture it.
  2. Typically the server is represented by the DNS name within traffic between clients and an Internet server. Therefore, the first packet sent by a client is represented by the DNS query that is intended to resolve a host name to an IP address. In this example, the DNS server is the WinRoute host (this is very common) and the line to the Internet is disconnected. A client's request on this DNS server is traffic within the local network and, therefore, it will not result in dialing the line. If the DNS server does not have the appropriate entry in the cache , it must forward the request to another server on the Internet. The packet is forwarded to the Internet by the local DNS client that is run at the WinRoute host. This packet cannot be held and it will not cause dialing of the line. Therefore, the DNS request cannot be answered and the traffic cannot continue. For these reasons, WinRoute DNS Forwarder enables automatic dialing (if the DNS server cannot respond to the request itself). This function is dependent on demand dial — if the demand dial function is disabled, the DNS Forwarder will not dial the line. Note: If the DNS server is located on another host within the local network or clients within the local network use an Internet DNS server, then the limitation is irrelevant and the dialing will be available. If clients' DNS server is located on the Internet, the line will be dialed upon a client's DNS query. If a local DNS server is used, the line will be dialed upon a query sent by this server to the Internet (the default gateway of the host where the DNS server is running must be set to the IP address of the WinRoute host).
  3. It can be easily understood through the last point that if the DNS server is to be running at the WinRoute host, it must be represented by DNS Forwarder because it can dial the line if necessary. If there is a domain that is based on Active Directory in the Windows 2000 local network, Microsoft DNS server must be used as communication with Active Directory is performed according to special types of DNS requests. Microsoft DNS server does not support automatic dialing. Moreover, it cannot be used at the same host as DNS Forwarder as it would cause collision of ports. As understood from the facts above, if the Internet connection is to be available via dial-up, WinRoute cannot be used at the same host where Windows 2000 server Active Directory and Microsoft DNS are running.

                    
__________________

керио
С.С. Горбунков вне форума   Ответить с цитированием
Старый 28.08.2008, 11:11   #5
 
Регистрация: 27.08.2008
Адрес: ТочикистонаМА, Душанбе
Сообщений: 13

По умолчанию

Вот нащёлкал, что смог. Смотрим, и по возможности делимся идеями.
Изображения
Тип файла: jpg Interfaces.jpg (356.8 Кб, 16 просмотров)
Тип файла: jpg Traffic Policy.jpg (439.0 Кб, 13 просмотров)
Вложения
IP.txt (2.5 Кб, 6 просмотров)
Aeronaft вне форума   Ответить с цитированием
Старый 28.08.2008, 14:11   #6
Clairvoyant
 
 
Регистрация: 19.07.2006
Адрес: Пенза-Москва
Сообщений: 6,922

По умолчанию

Aeronaft, [Для просмотра данной ссылки нужно зарегистрироваться]
судя по мануалу - не выйдет каменный цветок. нуно с контроллером чего-то делать. либо с керио. на вмварь что-то из них ставить, например.
__________________

керио
С.С. Горбунков вне форума   Ответить с цитированием
Старый 29.08.2008, 13:59   #7
 
Регистрация: 27.08.2008
Адрес: ТочикистонаМА, Душанбе
Сообщений: 13

По умолчанию

В общем пришол к выводу, что проще ДНС вынести на виртушку.
Aeronaft вне форума   Ответить с цитированием
Ответ

« Предыдущая тема | Следующая тема »

Опции темы
Версия для печати Версия для печати
Отправить по электронной почте Отправить по электронной почте

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT +4, время: 16:43.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd. Перевод: zCarot

© Kerio-rus.ru
Официальный сайт группы АлисА WWW.ALISA.NET Фонарёвка: всё о фонарях