ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Николай <nicoborr@mail.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] и снова VPN :)
Date: Mon, 24 Oct 2005 22:35:08 +0400
Message-ID: <279042905.20051024223508@mail.ru> (raw)

Еще раз извиняюсь за настойчивость, но у меня никак не получается поднять
VPN.
(Посмотрел, что предыдущая мессага в html удалилась. Отправляю то же самое в
текстовом виде).
Помогите пжлст роутинг правильно сделать в ALM2.4, если дело в
роутинге. Пакеты через PPTP вроде бы в Инет уходят, но не
возвращаются. По локальной сети все пакеты ходят нормально, после поднятия ppp.
Адрес VPN-сервера для подключения 10.0.0.8,  после поднятия интерфейса
- P-t-P:1.1.1.1
Маршрутизация в локальной сети,как я понял, идет через адрес 10.1.0.3: когда не
пингуется какая-то из локальных машин - ответ приходит с этого IP.

Для наглядности листинги выкладываю:
результаты ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:6F:3F:6B  
          inet addr:10.1.0.105  Bcast:10.1.1.255  Mask:255.255.254.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13966 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1065 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1145687 (1.0 Mb)  TX bytes:103468 (101.0 Kb)
          Interrupt:21 Base address:0x6000 

#eth1 - это у меня локальная сетевуха, для соединения двух домашних компов:
eth1      Link encap:Ethernet  HWaddr 00:0D:61:45:A3:4D  
          inet addr:172.1.1.7  Bcast:172.1.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:128 (128.0 b)
          Interrupt:20 Memory:f3000000-0 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:840 (840.0 b)  TX bytes:840 (840.0 b)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:172.20.1.227  P-t-P:1.1.1.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1490  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:65 (65.0 b)  TX bytes:71 (71.0 b)

результаты route -n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
1.1.1.1         0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
172.1.1.0       0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.1.0.0        0.0.0.0         255.255.254.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.1.0.3        0.0.0.0         UG    0      0        0 eth0

а это результат ping ya.ru:
PING ya.ru (213.180.204.8) 56(84) bytes of data.

--- ya.ru ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7005ms




             reply	other threads:[~2005-10-24 18:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-24 18:35 Николай [this message]
2005-10-25  7:33 ` ABATAPA
2005-10-25  8:30   ` [sisyphus] " Michael Shigorin
2005-10-25  9:33     ` ABATAPA
2005-10-27 14:50     ` [sisyphus] " ABATAPA
2005-10-25  7:35 ` Alexander Vasiliev
2005-10-25  7:48   ` ABATAPA

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=279042905.20051024223508@mail.ru \
    --to=nicoborr@mail.ru \
    --cc=sisyphus@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git