From: sergey ivanov <seriv@parkheights.dyndns.org>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] посоветуйте конфигурацию vserver'ов
Date: Fri, 24 Dec 2004 18:22:40 -0500
Message-ID: <41CCA4C0.9090708@parkheights.dyndns.org> (raw)
In-Reply-To: <41CC6D97.9010902@parkheights.dyndns.org>
sergey ivanov wrote:
> У меня на компьютере две сетевых карты, одна имеет доступный
> снаружи IP, к другой подсоединены несколько компьютеров соседских. FTP
> я привязал к алиасу на внутренней сети, и перенаправляю туда наружные
> соединения на ftp порт при помощи iptables. А вот как пересадить squid
> в такой же vserver, сохранив за ним функции прозрачного прокси, я не
> понимаю. Подскажите, пожалуйста. А то внутрь squid слушает, а наружу
> выйти не может.
Уточняю вопрос. В локальной сети (eth1) я могу привязать vserver к
адресу как захочу. Зато наружу (eth0) имею динамический IP, выдаваемый
мне провайдером. Если я его вписываю в конфигурацию vserver'а, то squid
в этом vserver'е работает. Если я оставляю eth0:0.0.0.0 в конфигурации
vserver'а, то squid наружу выйти не может. Неужели я должен писать
скрипт, который бы при каждом изменении выданного мне динамического IP
адреса корректировал бы конфигурации vserver'ов и их перезапускал?
Сергей
next prev parent reply other threads:[~2004-12-24 23:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-24 19:27 sergey ivanov
2004-12-24 23:22 ` sergey ivanov [this message]
2004-12-29 16:08 ` Sergey Ivanov
2004-12-27 9:05 ` Anton Farygin
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=41CCA4C0.9090708@parkheights.dyndns.org \
--to=seriv@parkheights.dyndns.org \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git