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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: squid i routing problem


  • Subject: Re: lug-bg: squid i routing problem
  • From: kotak@xxxxxxxxxxxx (Stefan Myankov)
  • Date: 16 Jun 2002 15:27:33 +0000



Íà íä, 2002-06-16 â 11:53, martin petkov çàïèñà:
> 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)?
Da rechem, che gw na dostavchika prez koito iskash da prekarash squida e
10.0.0.1
a ipto ti kym tozi dostavchik na interface e 10.0.0.2, interface-a shte
ti e primerno eth1
Za routinga na interface-a kym dostavchika prez koito iskash da
prekarash squida:
ifconfig eth1 10.0.0.2 netmask 255.255.255.255
ip route add 10.0.0.1 dev eth1
ip route add via 10.0.0.1 src 10.0.0.2
V squid.conf:
tcp_outgoing_adress 10.0.0.2
udp_incoming_adress 10.0.0.2
udp_outgoing_adress 10.0.0.2

Mislq, che tova trqbva da ti reshi problema :)

BRGDS
Stefan Myankov

============================================================================
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.