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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: aDSL+SQUID [in reply to Danail Petrov]


  • Subject: Re: lug-bg: aDSL+SQUID [in reply to Danail Petrov]
  • From: gggg ggg <gashti_dolu@xxxxxxxxx>
  • Date: Wed, 27 Apr 2005 08:01:15 -0700 (PDT)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

Dido ,mersi za otgovora , no vapreki perfektnoto ti
razjasnenie ima oshte spanki:
variant 1: za squid.conf
tcp_outgoing_address 192.168.1.2
samo go probwal otdavna - ne raboti (neznam zashto)

variant 2: prili4a na rabotesht no za jalost na tazi
mashina niama iptables, ima samo ipchains i
ip-route2,kato za ip-route2 neznam dali raboti. 
reshenieto javno shte triabwa da e na baza ipchains.

o4akvam idei.

g.

--- Danail Petrov <oneofus@xxxxxxxxxxxxx> wrote:
> gggg ggg wrote:
> 
> >zdraveite,
> >problema e slednia:
> >imam linux box s niakolko mrejarki na nego.
> >edna ot tiah e 192.168.1.2 i na neja e zaka4en aDSL
> na
> >BTK koito e 192.168.1.1 
> >default GW mi e realen IP ot druga mreja
> >imam nujda ot pomosht za 2 neshta:
> >1. kak da nakaram squida da praboti prez DSL-a, a
> ne
> >prez default GW
> >  
> >
> &#1042;&#1072;&#1088;&#1080;&#1072;&#1085;&#1090; 1.
squid.conf:
>             tcp_outgoing_address x.x.x.x #
&#1082;&#1098;&#1076;&#1077;&#1090;&#1086;
> &#1093;.&#1093;.&#1093;.&#1093; &#1077;
&#1072;&#1076;&#1088;&#1077;&#1089;&#1072;
&#1082;&#1086;&#1081;&#1090;&#1086; 
> &#1089;&#1080;
&#1087;&#1086;&#1083;&#1091;&#1095;&#1080;&#1083;
&#1086;&#1090; &#1073;&#1090;&#1082;
> &#1042;&#1072;&#1088;&#1080;&#1072;&#1085;&#1090; 2.
>              iptables -t mangle -I PREROUTING -p tcp
> --dport 80 -j MARK 
> --set-mark 80
>              echo  240 BTK >>
> /etc/iproute2/rt_tables
>               ip ru a fwmark 80 t BTK
>               ip r a t BTK default via 192.168.1.1  
>          
> 
> >2. kak da nakaram vsi4ki paketi ot mreja
> 192.168.20.0
> >da izlizat prez DSL-a ,osven ako ne otivat kam
> >localnite mreji varzani za linuxa ?
> >  
> >
> #&#1055;&#1088;&#1080;&#1077;&#1084;&#1072;&#1084;
&#1095;&#1077;
&#1083;&#1086;&#1082;&#1072;&#1083;&#1085;&#1080;&#1090;&#1077;
&#1090;&#1080; &#1084;&#1088;&#1077;&#1078;&#1080;
&#1089;&#1072; 192.168.0.0/16 ,
> 10.0.0.0/8 &#1089;&#1072;&#1084;&#1086;
&#1079;&#1072; &#1076;&#1072; 
> &#1073;&#1098;&#1076;&#1077; &#1087;&#1086;
&#1103;&#1089;&#1077;&#1085;
&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1072;
&#1084;&#1080;.
>           echo  245 private  >>
> /etc/iproute2/rt_tables
>           ip ru a from 192.168.20.0/24 table private
>           ip r a t private 10.0.0.0/8 via dev ethX  
>    
>           ip r a t private 192.168.0.0/16 via dev
> ethX
>           ip r a t private default via 192.168.1.1
> 
>          
> 
> >blagodaria predvaritelno


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
============================================================================
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.