From: Vladimir Elizarov <xengelpublicx@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Создание шлюза
Date: Sun, 27 Jan 2008 21:52:51 +0300
Message-ID: <479CD303.7050001@gmail.com> (raw)
In-Reply-To: <479B5C23.80402@gmail.com>
Motsyo Gennadi aka Drool пишет:
> Alexandr Petukhov пишет:
>> комп с двумя сетевушками
>> eth0 192.168.x.51(городская сеть и VPN)
>> eth2 192.168.0.1
>> шлюз 192.168.x.1
>> к eth2 через свитч подключен втророй комп:
>> eth0 192.168.0.2
>> шлюз 192.168.0.1
>>
>> Соответственно инет есть тока на первом компьютере.
>> Как настроить таблицу маршрутизации так,чтоб инет был и на второй машине?
>
> Рабочие конфиги моего сервера ушли в личку. В кратце:
>
> apt-get install squid bind
> chkconfig squid on
> chkconfig bind on
>
> Закинуть squid.conf в /etc/squid/
> Закинуть nat в /etc/rc.d/init.d
>
> chkconfig nat on
>
> service squid restart
> service bind restart
> service nat restart
>
> У меня:
> eth0 - 192.168.1.14
> eth1 - 192.168.2.1
>
> Подправьте присланные конфиги под свои IP адреса. Все должно работать.
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
а можно и мне выслать?
next prev parent reply other threads:[~2008-01-27 18:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 15:34 Alexandr Petukhov
2008-01-26 16:13 ` Motsyo Gennadi aka Drool
2008-01-27 18:52 ` Vladimir Elizarov [this message]
2008-01-27 19:08 ` Motsyo Gennadi aka Drool
2008-01-27 19:30 ` Mikhail Kuligin
2008-01-27 20:02 ` Motsyo Gennadi aka Drool
2008-01-27 21:02 ` Di
2008-01-27 21:24 ` Mikhail Kuligin
2008-01-27 22:27 ` [Comm] [JT] " Motsyo Gennadi aka Drool
2008-01-26 16:59 ` [Comm] " Alexandr Petukhov
2008-01-26 18:09 ` Motsyo Gennadi aka Drool
2008-01-27 18:48 ` Mikhail Kuligin
2008-01-27 19:06 ` Motsyo Gennadi aka Drool
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=479CD303.7050001@gmail.com \
--to=xengelpublicx@gmail.com \
--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