From: "Nick S. Grechukh" <ngrechukh@ua.fm>
To: community@altlinux.ru
Subject: Re: [Comm] squid outgoing ip
Date: Sat, 10 Jul 2004 19:39:26 +0300
Message-ID: <200407101939.27099.ngrechukh@ua.fm> (raw)
In-Reply-To: <200407101927.38440.ngrechukh@ua.fm>
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
В сообщении от Суббота 10 Июль 2004 19:27 Nick S. Grechukh написал(a):
> можно ли заставить сквид ходить за инетом с определенного адреса?
> на eth0 192.168.192.105 поднять алиас eth0:1 192.168.192.191.
> запросы идут на 105, надо чтобы когда сквид лезет за трафиком, он лез с 191
> адреса. (это все чтобы на роутере, разделить трафик сквида и остальной
> трафик машины).
> пока что сделал через snat по session id, чем плохо:
> после service restart меняется sid. в init.d/squid засунул перемаркировку,
> но это до новой сборки.
> м.б. это можно сделать средставми самого сквида?..
.. и сам себе отвечаю, погуглив:
tcp_outgoing_address.
там даже acl есть.
--
с уважением,
Nick S. Grechukh
network administrator of
Refractory Trading House
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-07-10 16:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-10 16:27 Nick S. Grechukh
2004-07-10 16:39 ` Nick S. Grechukh [this message]
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=200407101939.27099.ngrechukh@ua.fm \
--to=ngrechukh@ua.fm \
--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