From: Sergey Paradeyev <psv@gdnet.dp.ua>
To: Andy Gorev <community@altlinux.ru>
Subject: Re[2]: [Comm] VPN PPTP
Date: Mon, 12 Apr 2004 20:31:31 +0300
Message-ID: <37125496375.20040412203131@gdnet.dp.ua> (raw)
In-Reply-To: <407ACA01.6040801@mail333.com>
Здравствуйте, Andy.
Вы писали 12 апреля 2004 г., 19:55:29:
>> Поднял я тестовый впн сервер. С соседней машинки и с винды и с
>> линукса поднимает ппп-сессии. А вот снаружи, через несколько
>> шлюзиков и роутеров сессии подымает через раз, причем
>> закономерность отловить трудно.
>>
>> tcpdump'ом смотрим и видим причину, когда сессия не подымается,
>>
>> IP 193.254.226.51 > 195,5,60,210: icmp 68: 193.254.226.51 protocol 47 unreachable
AG> protocol 47 это гре. разрешить его пограничным шлюзам
Все пограничные шлюзы по пути не фильтруют трафик, а только снатят свои
локальные сетки наружу. Другими словами присутствуют правила в
апитаблесе типа:
на сервере
iptables -A INPUT -d 195.5.60.210 -j ACCEPT
iptables -A OUTPUT -s 195.5.60.210 -j ACCEPT
на шлюзе
iptables -A FORWARD -s 192.168.254.1 -j ACCEPT
iptables -A FORWARD -d 192.168.254.1 -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.254.1 -o ppp0 \
-j SNAT --to-source 193.254.226.51
где 192.168.254.1 адрес клиентской виндовой машинки, которая пытается
соединиться с 195.5.60.210 VPN сервером.
--
С уважением,
Sergey mailto:psv@gdnet.dp.ua
next prev parent reply other threads:[~2004-04-12 17:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-09 11:50 Polovnikov Denis
2004-04-09 11:48 ` Maxim.Savrilov
2004-04-19 13:33 ` Re[2]: " Polovnikov Denis
2004-04-12 14:13 ` Polovnikov Denis
2004-04-12 14:41 ` Pavel Tsybulin
2004-04-12 15:59 ` Re[2]: " Sergey Paradeyev
2004-04-12 16:55 ` Andy Gorev
2004-04-12 17:31 ` Sergey Paradeyev [this message]
2004-04-14 6:15 ` Re[2]: " Polovnikov Denis
2004-04-13 3:47 ` Mike Lykov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37125496375.20040412203131@gdnet.dp.ua \
--to=psv@gdnet.dp.ua \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git