ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "fisk" <linux_doc@kmk.enisey.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] Re: [Comm] ðÏÍÏÇÉÔÅ ÎÁÓÔÒÏÉÔØ pptp
Date: Tue, 17 Sep 2002 12:32:27 +0700
Message-ID: <00c301c25e0b$9ef4f4e0$0765a8c0@cmc.krs.ru> (raw)
In-Reply-To: <20020917014956.GA24998@dolmatov.dsb.ru>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

> > ðÒÏÄÏÌÖÁÀ ÐÙÔÁÔØÓÑ ÎÁÓÔÒÏÉÔØ pptp:

íÏÊ ÐÒÏ×ÁÊÄÅÒ ÎÁÐÉÓÁÌ ÍÅÔÏÄÉËÕ ÎÁÓÔÒÏÊËÉ. íÏÖÅÔ ÐÏÍÏÖÅÔ!

Login as root to your box.
õÓÔÁÎÏ×ÉÔÅ ×ÓÅ ÎÅÏÂÈÏÄÉÍÏÅ ÄÌÑ PPP.
õÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ pptp-linux-1.1.0-2mdk ÉÌÉ ÄÒÕÇÏÊ Ó PPTP client project .
ôÁÍ ÖÅ ÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ ÄÏÐÏÌÎÉÔÅÌØÎÕÀ ÉÎÆÏÒÍÁÃÉÀ Ï PPTP.
óÏÚÄÁÊÔÅ /etc/ppp/options.pptp

------------
lock
+chap
noauth
defaultroute
nobsdcomp
updetach
nodeflate
persist
mtu 1000
mru 1000
------------

CÏÚÄÁÊÔÅ /etc/ppp/peers/tunnel ÉÌÉ (ÞÔÏ ÂÏÌÅÅ ÐÒÁ×ÉÌØÎÏ) ÓËÏÎÆÉÇÕÒÉÒÕÊÔÅ
ËÏÍÁÎÄÏÊ

--------
name USERNAME
remotename PPTP
file /etc/ppp/options.pptp
ipparam tunnel
--------

[root@localhost /]# pptp-command
1.) start
2.) stop
3.) setup
4.) quit
What task would you like to do?:

åÓÌÉ ÷Ù ÎÅ ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÌÉ ËÏÍÁÎÄÏÊ pptp-command ÐÁÒÏÌÉ - ÓÏÚÄÁÊÔÅ
/etc/ppp/chap-secrets

------------
# Secrets for authentication using CHAP
# client server secret   IP addresses
USERNAME PPTP PASSWORD
------------

òÅËÏÍÅÎÄÕÅÍ ÚÁÍÅÎÉÔØ ÆÁÊÌ /usr/sbin/pptp-command (ÉÓÐÏÌØÚÕÅÔ ËÏÍÁÎÄÕ pkill).

----------
 `pkill pppd`;
# `killall -HUP pptp`;
----------

óÔÁÎÄÁÒÔÎÙÊ ÞÔÏ-ÔÏ ÐÌÏÈÏ ÚÁÐÕÓËÁÅÔ É ÒÏÎÑÅÔ PPP.
äÁÌÅÅ ÄÅÌÁÅÍ /etc/init.d/pptp start
Enjoy.
äÌÑ ÐÒÏ×ÅÒËÉ ÓÏÅÄÉÎÅÎÉÑ ÍÏÖÎÏ ÐÏÌÏÖÉÔØ × crontab ÜÔÏÔ ÓËÒÉÐÔ.

--------
#!/bin/sh
if test -z `/sbin/pidof pppd`; then
    exec /usr/sbin/pptp-command start
fi
--------

åÓÌÉ ×ÓÅ ÓÄÅÌÁÎÏ ÐÒÁ×ÉÌØÎÏ, ÔÏ ÐÏÓÌÅ ÕÓÔÁÎÏ×ÌÅÎÉÑ ÓÏÅÄÉÎÅÎÉÑ ÷ÁÛ ËÏÍÐØÀÔÅÒ
ÄÏÌÖÅÎ ÕÖÅ ÒÁÂÏÔÁÔØ ÞÅÒÅÚ PPP Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÁÕÔÅÎÔÉÆÉËÁÃÉÉ É
IP-ÔÕÎÎÅÌÉÒÏ×ÁÎÉÑ.

í.æÉÓËÏ×
fisk@kmk.enisey.ru
info@kmk.enisey.ru




  reply	other threads:[~2002-09-17  5:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 14:56   ` [Comm] Re: [Comm] Помогите настроить pptp Denis Kirienko
2002-09-17  1:49     ` Sergei Dolmatov
2002-09-17  5:32       ` fisk [this message]
2002-09-16 15:44 ` Igor Tertishny

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='00c301c25e0b$9ef4f4e0$0765a8c0@cmc.krs.ru' \
    --to=linux_doc@kmk.enisey.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