Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: squid i routing problem


  • Subject: Re: lug-bg: squid i routing problem
  • From: alex@xxxxxx (Alexander Atanasov)
  • Date: Sun, 16 Jun 2002 15:35:28 +0300 (EEST)



On Sun, 16 Jun 2002, martin petkov wrote:

> Zdraveite,
> 
> Na mashinata mi imam dva interface-a, svyrzani kym dva
> razlichini dostavchika. Za default gateway mi sluji
> edinia interface. 
> Vyprosa mi e kak da configuriram server-a taka, che,
> kogato se obyrna kym proxyto, koeto e instalirano na
> nego da me prenasochva kym drugia interface (ne tozi
> na default gw-a)?

v squid.conf slagash:
IP2=IP address ot ISP koeto e na 2 interface
ISP2GW=IP address  koito e gateway ot ISP koeto e na 2 interface
tcp_outgoing IP2

routing:
ip ru add prio 200 from IP2 to localnetworks table main
ip ru add prio 300 from IP2 table 200
ip ro add default via ISP2GW table 200

ip ro add default via ISP1GW


-- 
have fun,
alex

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.