ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Александр В. Макаров" <5234378@gmail.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] VPN - замучился !!!
Date: Tue, 19 Feb 2008 18:33:24 +0300
Message-ID: <ffee06470802190733u7ef9971dl46dba711836e3af4@mail.gmail.com> (raw)

Мои настройки

options

ONBOOT=yes
PPPTYPE=pptp
PPTP_SERVER=192.168.100.203
REQUIRES=eth0

pppoptions

name МОЕ ИМЯ
remotename PPTP

noipdefault
defaultroute
noauth
hide-password
persist

chap-secret
МОЕ ИМЯ PPTP ПАРОЛЬ

ip4route
192.168.100.203/32 via 192.168.хх.1
default via 192.168.хх.1


после настройки (до перезагрузки)
сеть работает

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

192.168.хх.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.хх.1    0.0.0.0         UG    0      0        0 eth0



после перезагрузки
ничего неработает

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

10.168.0.5      0.0.0.0         255.255.255.255 UH    0      0        0 ppp22
192.168.хх.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0

0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp22

Вот данные из windows (может поможет).


Microsoft Windows XP [Версия 5.1.2600]
(С) Корпорация Майкрософт, 1985-2001.

>route print
===========================================================================
Список интерфейсов
0x1 ........................... MS TCP Loopback interface

0x2 ...00 19 21 20 f2 05 ...... VIA Compatable Fast Ethernet рфряЄхЁ - Kaspersky
 Anti-Virus NDIS Miniport
0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================

===========================================================================
Активные маршруты:
Сетевой адрес           Маска сети      Адрес шлюза       Интерфейс  Метрика
          0.0.0.0          0.0.0.0     10.168.хх.95    10.168.хх.95       1

          0.0.0.0          0.0.0.0     192.168.хх.1   192.168.хх.95       21
     10.168.хх.95  255.255.255.255        127.0.0.1       127.0.0.1       50

   10.255.255.255  255.255.255.255     10.168.хх.95    10.168.хх.95       50
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1

      169.254.0.0      255.255.0.0    192.168.хх.95   192.168.хх.95       30
      192.168.0.0      255.255.0.0     192.168.хх.1   192.168.хх.95       1

     192.168.хх.0    255.255.255.0    192.168.хх.95   192.168.хх.95       20
    192.168.хх.95  255.255.255.255        127.0.0.1       127.0.0.1       20

   192.168.хх.255  255.255.255.255    192.168.хх.95   192.168.хх.95       20
  192.168.100.203  255.255.255.255     192.168.хх.1   192.168.хх.95       1

        224.0.0.0        240.0.0.0    192.168.хх.95   192.168.хх.95       20
        224.0.0.0        240.0.0.0     10.168.хх.95    10.168.хх.95       1

  255.255.255.255  255.255.255.255     10.168.хх.95    10.168.хх.95       1
  255.255.255.255  255.255.255.255    192.168.хх.95   192.168.хх.95       1

Основной шлюз:        10.168.хх.95
===========================================================================
Постоянные маршруты:
  Сетевой адрес            Маска    Адрес шлюза      Метрика
      192.168.0.0      255.255.0.0     192.168.хх.1       1

Еще у меня есть вот такие данные по роутингу:

route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.ваш_шлюз eth0
route add IP_сервера_доступа gw 192.168.ваш_шлюз eth0


Как все-таки настроить VPN, чтобы работало!
ПОМОГИТЕ!

             reply	other threads:[~2008-02-19 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 15:33 Александр В. Макаров [this message]
2008-02-19 15:45 ` Alexei V. Mezin

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=ffee06470802190733u7ef9971dl46dba711836e3af4@mail.gmail.com \
    --to=5234378@gmail.com \
    --cc=community@lists.altlinux.org \
    /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