ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Fateyev Grigory" <help@anastasia.ru>
To: community@altlinux.ru
Subject: [Comm] pptp-client
Date: Fri, 23 Apr 2004 21:31:41 +0400
Message-ID: <web-2888111@backend2.aha.ru> (raw)

Здравствуйте!

  Я стал клиентом т. н. "Домашние сети", есть локалка и 
Интернет через
  VPN, но ни как не могу войти в интернет хотя авторизация 
на сервере
  проходит нормально. Предполагаю что проблема с 
маршрутизацией.

  Локальная сеть 172.16.0.0/16
  Мой адрес 172.16.1.66
  Тут проблем с настройкой нет 
  # cat /etc/sysconfig/network-scripts/ifcfg-eth0
  DEVICE=eth0
  BOOTPROTO=dhcp
  IPADDR=172.16.1.66
  NETMASK=255.255.0.0
  NETWORK=172.16.0.0
  BROADCAST=172.16.255.255
  ONBOOT=yes
  сеть поднимается нормально.

  Потом установил pptp-client-1.4.0
  Адрес VPN сервера 192.168.0.1
  С помощью pptp-config все настроил,
  # cat /etc/sysconfig/pptp
  # Tunnel name
  PPTP_TUNNEL=my_tunnel
  В пакете pptp-client очень толковый README.rus (спасибо 
автору), по нему
  настроил маршрут вот так: 

  192.168.11.1    0.0.0.0         255.255.255.255 UH    0 
  0  0 ppp0
  172.16.0.0      172.16.0.1      255.255.0.0     UG    0 
    0  0 eth0
  172.16.0.0      0.0.0.0         255.255.0.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         172.16.0.1      0.0.0.0         UG    0 
    0     0 eth0
  На сервер вхожу нормально, а Интернета не видно.
  Как мне сделать маршрут по-умолчанию не в локалку, а на 
VPN сервер?

  Спасибо!

_______________________________________________
Не забывайте посещать http://www.anastasia.ru


             reply	other threads:[~2004-04-23 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 17:31 Fateyev Grigory [this message]
2004-04-23 19:57 ` Sergey S. Skulachenko

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=web-2888111@backend2.aha.ru \
    --to=help@anastasia.ru \
    --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