ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Как  трафик squid отправить по другому маршруту.
@ 2009-09-30 16:46 Igor Golovichev
  2009-09-30 16:54 ` Alexey I. Froloff
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Golovichev @ 2009-09-30 16:46 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Добрый день.

Имеется Linex - роутер с двумя интерфейсами eth0 в локальную сеть 192.168.0.0 
и ppp0 в интернет. 
В локальной сети есть ADSL (ip 192.168.0.1) роутер со вторым интернетом 
(дешевый трафик).
Заказчик хочет чтобы трафик только со squid - a с linux  роутера заварачивался 
обратно в локалку на ADSL (ip 192.168.0.1) роутер, а весь остальной трафик по 
default-у на ppp0.

Как  трафик  одного приложения отправить по другому маршруту. Где копать ip, 
iptables, может squid такое умеет?

-- 
С уважением, Головичев Игорь

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

* Re: [Sysadmins] Как  трафик squid отправить по другому маршруту.
  2009-09-30 16:46 [Sysadmins] Как трафик squid отправить по другому маршруту Igor Golovichev
@ 2009-09-30 16:54 ` Alexey I. Froloff
  2009-10-01  5:37   ` Timur Batyrshin
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey I. Froloff @ 2009-09-30 16:54 UTC (permalink / raw)
  To: sysadmins

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

On Wed, Sep 30, 2009 at 09:46:14PM +0500, Igor Golovichev wrote:
> Как  трафик  одного приложения отправить по другому маршруту. Где копать ip, 
> iptables,
В LARTC есть пример настройки двух каналов.

> может squid такое умеет?
Умеет, tcp_outgoing_address если не ошибаюсь.

-- 
Regards,
Sir Raorn.

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

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

* Re: [Sysadmins] Как  трафик squid отправить по другому маршруту.
  2009-09-30 16:54 ` Alexey I. Froloff
@ 2009-10-01  5:37   ` Timur Batyrshin
  0 siblings, 0 replies; 3+ messages in thread
From: Timur Batyrshin @ 2009-10-01  5:37 UTC (permalink / raw)
  To: sysadmins

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

On Wed, 30 Sep 2009 20:54:26 +0400
Alexey I. Froloff wrote:

> On Wed, Sep 30, 2009 at 09:46:14PM +0500, Igor Golovichev wrote:
> > Как  трафик  одного приложения отправить по другому маршруту. Где
> > копать ip, iptables,
> В LARTC есть пример настройки двух каналов.

Или man ip на предмет policy routing

> > может squid такое умеет?
> Умеет, tcp_outgoing_address если не ошибаюсь.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2009-10-01  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30 16:46 [Sysadmins] Как трафик squid отправить по другому маршруту Igor Golovichev
2009-09-30 16:54 ` Alexey I. Froloff
2009-10-01  5:37   ` Timur Batyrshin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git