ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] Howto Share internet connection ???
  @ 2007-01-05 19:03 ` Motsyo Gennadi aka Drool
  2007-01-05 19:35   ` dmitriy
  2007-01-05 19:57 ` Damir Shayhutdinov
    2 siblings, 1 reply; 5+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-01-05 19:03 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

"dmitriy" <itadmin@mail.ru> wrote:

> Всех приветствую !
> 
> Подскажите каким образом можно расшарить модем на общий доступ  к инету (ICS)

	Может проще расшарить для других инет?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] Howto Share internet connection ???
  2007-01-05 19:03 ` [Comm] Howto Share internet connection ??? Motsyo Gennadi aka Drool
@ 2007-01-05 19:35   ` dmitriy
  0 siblings, 0 replies; 5+ messages in thread
From: dmitriy @ 2007-01-05 19:35 UTC (permalink / raw)
  To: ALT Linux Community

для других это вы имели что ввиду, девайсы ??? если да то модем нужен 
принципиально.

Дмитрий
ICQ 326393631 



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

* Re: [Comm] Howto Share internet connection ???
    2007-01-05 19:03 ` [Comm] Howto Share internet connection ??? Motsyo Gennadi aka Drool
@ 2007-01-05 19:57 ` Damir Shayhutdinov
  2007-01-06 22:22   ` [Comm] [faq] " Michael Shigorin
    2 siblings, 1 reply; 5+ messages in thread
From: Damir Shayhutdinov @ 2007-01-05 19:57 UTC (permalink / raw)
  To: ALT Linux Community

> Подскажите каким образом можно расшарить модем на общий доступ  к инету
> (ICS)
Я знаю страшные слова, по которым можно найти ответ - NAT, ppp0, eth0,
iptables. Конкретную строчку для iptables к сожалению привести не
могу, ибо iptables не знаю.

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

* [Comm] [faq] Re: Howto Share internet connection ???
  2007-01-05 19:57 ` Damir Shayhutdinov
@ 2007-01-06 22:22   ` Michael Shigorin
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Shigorin @ 2007-01-06 22:22 UTC (permalink / raw)
  To: ALT Linux Community

On Fri, Jan 05, 2007 at 10:57:34PM +0300, Damir Shayhutdinov wrote:
> > Подскажите каким образом можно расшарить модем на общий
> > доступ  к инету (ICS)
> Я знаю страшные слова, по которым можно найти ответ - NAT,
> ppp0, eth0, iptables. Конкретную строчку для iptables к
> сожалению привести не могу, ибо iptables не знаю.

И ведь что характерно, это есть в FAQ:
http://faq.altlinux.ru/index.php?action=single&nf=1&qid=306

Скажите, какими ключевыми словами (я сразу нашёл по iptables
ppp0) сдобрить, чтобы было удобней находить?

PS: для более развёрнутого варианта понимания рекомендую
http://gazette.linux.ru.net/rus/articles/index-iptables-tutorial.html

PPS: с Рождеством!

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [Comm] Howto Share internet connection ???
  @ 2007-01-08 19:13   ` Arcady V. Ivanov
  0 siblings, 0 replies; 5+ messages in thread
From: Arcady V. Ivanov @ 2007-01-08 19:13 UTC (permalink / raw)
  To: ALT Linux Community

Dmitrii Shevchenko пишет:
> 05.01.07, *dmitriy* <itadmin@mail.ru <mailto:itadmin@mail.ru>> 
> написал(а):
>
>     Всех приветствую !
>
>
> Привет.
>
>     Подскажите каким образом можно расшарить модем на общий доступ  к
>     инету (ICS)
>
>
> Во-первых, нужно включить флаг ip-форвардинга:
> # echo 1 > /proc/sys/net/ipv4/ip_forward
>
> Во-вторых, нам поможет маскарадинг:
> # iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
>
> Вроде бы, так. ppp0 - интерфейс модема, eth0 - интерфейс сетевой 
> карты, которая в локальную сеть. Удачи.
>
Строка с указанием исходящих пакетов через интерфейс для локальной сети 
(eth0) не нужна.

-- 

С уважением. Иванов Аркадий
Зам.директора ООО "Хелп"
mailto: arc@help0.ru
web:http://www.help0.ru
------------------------------------
I use stable soft:
Linux, Mozilla and OpenOffice. 
And recommend them for you too.




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

end of thread, other threads:[~2007-01-08 19:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-05 19:03 ` [Comm] Howto Share internet connection ??? Motsyo Gennadi aka Drool
2007-01-05 19:35   ` dmitriy
2007-01-05 19:57 ` Damir Shayhutdinov
2007-01-06 22:22   ` [Comm] [faq] " Michael Shigorin
2007-01-08 19:13   ` [Comm] " Arcady V. Ivanov

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