ako squid-a koito iskash da polzwash e localno na mashinata koqto prawi masq/snat na tazi mreja (192.168.x.x) nai dobre go naprawi s redirecct -> iptables -t nat -A PREROUTING -p tcp -s 192.168.1.80 -d 216.228.114.72 --dport 80 -j REDIRECT --to-port 8080 (ili kufto tam e port-na na squid-a)
Regards .... > ptables -t nat -A PREROUTING -s 192.168.1.80 -p tcp -d 216.228.114.72 > --dport 80 -j DNAT --to-destination <ipto na squid 8080 ili 80> > > > Todor Belev wrote: > >>Znachi za ACL listi predpolagam niama nujda da govorim, nujnite ti opcii >> osven tiah sa ti slednite: >> >>httpd_accel_host Ip-to na SQUID-a >>httpd_accel_port 80 >>httpd_accel_with_proxy on >>httpd_accel_uses_host_header on >> >> >>Todorin >> >> >> >-------- ���������� ����� -------- >> >��: Elin <[EMAIL PROTECTED]> >> >�������: lug-bg: hi iptables i squid >> >��: [EMAIL PROTECTED] >> >��������� ��: ���������, 2003, ��� 3 18:41:49 EEST >> >---------------------------------- >> > >> >zdraveite imam nuzda ot help tazi komanda na iptables >> > >> >iptables -t nat -A PREROUTING -s 192.168.1.80 -p tcp -d 216.228.114.72 >> >--dport 80 -j DNAT --to-destination <ipto na squida i port> >> >znachi tai komanda pravi slednoto ot sorsa *1.80 pravi zaivaka kam >> >216.228.114.72 na 80 prot i ideiata mie za toizi ip da go prehvurli >> prez >> >squida samoche squida nemoga da go nakaram da se vurze s iptablesa >> niako >> >znaeli kavi sa tochnite nastroiki za tova >> > >> >============================================================================ >> >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://opustheatrale.abv.bg - ������� ������ ����� ���� �� ������ >> ��������� ��� ! >>============================================================================ >>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 >>============================================================================ >> >> >> >> > > > ============================================================================ > 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 > ============================================================================ > ============================================================================ 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 ============================================================================
