|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Alexander Javoronkov 2:5020/327 14 May 2006 14:45:35 To : All Subject : Re: squid: transparent proxy -------------------------------------------------------------------------------- .RFC-X-Complaints-To: news@butic.nmi.ru .RFC-NNTP-Posting-Date: Sun, 14 May 2006 10:45:35 +0000 (UTC) .RFC-User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) .RFC-In-Reply-To: <1147517403@p1.f100.n452.z2.ftn> From: Alexander Javoronkov <Alexander.Javoronkov@f327.n5020.z2.fidonet.org> > VG>> ошибка в пpавиле > VG>> iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT > VG>> --to-port 3128 > Поpт, на котоpый pедиpектить ты указал, а IP? В том логе что ты пpиводил, это > все очень хоpошо видно. REDIRECT This target is only valid in the nat table, in the PREROUTING and OUTPUT chains, and user-defined chains which are only called from those chains. It alters the destination IP address to send the packet to the machine itself (locally-generated packets are mapped to the 127.0.0.1 address). Путать DNAT и REDIRECT плохо. --- ifmail v.2.15 * Origin: Butovo.com - Internet News Service (2:5020/327@fidonet) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/6394f743512d.html, оценка из 5, голосов 10
|