From: Alexey Sidorov <alex@reutman.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] dialin server (pppd + mgetty) Разъединяет сразу после авторизации
Date: Thu, 25 May 2006 13:19:24 +0400
Message-ID: <4475769C.6040009@reutman.ru> (raw)
In-Reply-To: <44753988.5080704@reutman.ru>
Alexey Sidorov пишет:
> Однако помогло указание например
> 192.168.1.1:192.168.1.2
> в options
>
> и сразу возник вопрос:
> на сервере стоит два интерфейса - в локалку (192.168.0.0/24) и в интернет
> можно ли сделать, что-бы входящее ppp "присоединялось к локалке", ну то есть клиент получал например адрес 192.168.0.167 и работал как нормальная машина в локалке? что для этого нужно прописать?
>
вобщем решил это сам.
прописал в options
192.168.0.166:192.168.0.167
прописал в iptables типа
-i eth0 -o ppp0 -j ACCEPT
-i ppp0 -o eth0 -j ACCEPT
и всё заработало, но сразу появились еще 2 вопроса :)
1. У меня стоит etcnet, однако я настраивал pppd без привязки к etcnet
Не было бы правильней перенести все настройки pppd в etcnet (/etc/net/ifaces/ppp0) ?
если да - то как это лучше сделать? что переносить?
2. Можно ли привязать pmacct к ещё не поднятому интерфейсу ppp0, или поднимать/останавливать pmaсct следует из соответствующих скриптов поднятия/опускания интерфейса ppp0? Если второе - то где взять эти скрипты?
--
С уважением, Алексей Сидоров
mailto:alex@reutman.ru
JIT:alexsid@jabber.ru
next prev parent reply other threads:[~2006-05-25 9:19 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 9:23 Alexey Sidorov
2006-05-24 9:43 ` Sergey Vlasov
2006-05-24 10:03 ` Alexey Sidorov
2006-05-24 10:30 ` Sergey Vlasov
2006-05-24 10:34 ` Alexey Sidorov
2006-05-24 12:14 ` Sergey Vlasov
2006-05-24 12:36 ` Alexey Sidorov
2006-05-24 12:49 ` Alexander Fetininsky
2006-05-24 12:59 ` Alexey Sidorov
2006-05-24 14:18 ` Alexander Fetininsky
2006-05-25 4:58 ` Alexey Sidorov
2006-05-25 5:29 ` Anton Gorlov
2006-05-25 9:19 ` Alexey Sidorov [this message]
2006-06-14 12:26 ` [Comm] pmacct (was: dialin server (pppd + mgetty) Разъединяет сразу после авторизации ) Vladimir V. Kamarzin
2006-06-14 12:39 ` [Comm] pmacct Alexey Sidorov
2006-06-15 9:45 ` Vladimir V. Kamarzin
2006-06-21 12:52 ` [Comm] pmacct (was: dialin server (pppd + mgetty) Разъединяет сразу после авторизации ) userman
2006-06-05 9:00 ` [Comm] dialin server (pppd + mgetty) Разъединяет сразу после авторизации Michael Shigorin
2006-06-07 9:16 ` Alexey Sidorov
2006-06-07 10:43 ` Kosserior
2006-06-07 11:20 ` Alexey Sidorov
2006-06-07 11:43 ` Kosserior
2006-06-14 12:30 ` Vladimir V. Kamarzin
2006-06-21 12:53 ` Xandry
2006-06-23 11:20 ` Vladimir V. Kamarzin
2006-06-07 14:43 ` Dmytro Kovalskyy
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=4475769C.6040009@reutman.ru \
--to=alex@reutman.ru \
--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