ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] и снова VPN :)
@ 2005-10-24 18:35 Николай
  2005-10-25  7:33 ` ABATAPA
  2005-10-25  7:35 ` Alexander Vasiliev
  0 siblings, 2 replies; 7+ messages in thread
From: Николай @ 2005-10-24 18:35 UTC (permalink / raw)
  To: sisyphus

Еще раз извиняюсь за настойчивость, но у меня никак не получается поднять
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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-10-27 14:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-24 18:35 [sisyphus] и снова VPN :) Николай
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

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