ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ðÒÏÚÒÁÞÎÙÊ ÐÒÏËÓÉ
@ 2004-08-26 13:11 InboxISi
  2004-08-26 13:24 ` [Comm] рТПЪТБЮОЩК РТПЛУЙ Alexandr R. Ogurtzoff
  2004-08-27  4:33 ` [Comm] Прозрачный прокси Alexandr Rakhmanin
  0 siblings, 2 replies; 3+ messages in thread
From: InboxISi @ 2004-08-26 13:11 UTC (permalink / raw)
  To: ALT Linux Community

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

ëÏÌÌÅÇÉ,

ëÁË ÌÕÞÛÅ ×ÓÅÇÏ ÓÄÅÌÁÔØ "ÐÒÏÚÒÁÞÎÙÊ ÐÒÏËÓÉ", ÞÔÏ ËÏÇÄÁ ËÌÉÅÎÔ (IE) ÉÄÅÔ ÎÁ
ÓÔÁÎÄÁÒÎÙÊ 80 ÐÏÒÔ ÂÅÚ ÎÁÓÔÒÏÅÎÏÇÏ ÐÒÏËÓÉ ÓÅÒ×ÅÒÁ, ÔÏ ÅÇÏ ÚÁÐÒÏÓÙ
ÐÅÒÅÎÁÐÒÁ×ÌÑÌÉÓØ ÂÙ ÎÁ squid ÐÒÏËÓÉ?

äÏÓÔÁÔÏÞÎÏ ÌÉ ÞÔÏ-ÔÏ ÒÏÄÅ
IPTABLES -t nat -A PREROUTING -p TCP --dport 80 -j REDIRECT --to-port 3128

éÌØÑ óÔÒÅÌËÉÎ


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] рТПЪТБЮОЩК РТПЛУЙ
  2004-08-26 13:11 [Comm] ðÒÏÚÒÁÞÎÙÊ ÐÒÏËÓÉ InboxISi
@ 2004-08-26 13:24 ` Alexandr R. Ogurtzoff
  2004-08-27  4:33 ` [Comm] Прозрачный прокси Alexandr Rakhmanin
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandr R. Ogurtzoff @ 2004-08-26 13:24 UTC (permalink / raw)
  To: community

Привет!
> Достаточно ли что-то роде
> IPTABLES -t nat -A PREROUTING -p TCP --dport 80 -j REDIRECT --to-port 3128
Это если на той же машине, если на другой то:

iptables -t nat -A PREROUTING -i eth0 -s ! squid-box -p tcp --dport 80 -j DNAT 
--to squid-box:3128
 
iptables -t nat -A POSTROUTING -o eth0 -s local-network -d squid-box -j SNAT 
--to iptables-box
 
iptables -A FORWARD -s local-network -d squid-box -i eth0 -o eth0 -p tcp 
--dport 3128 -j ACCEPT
 Удачи!

-- 
Best regards
Alexandr R. Ogurtzoff


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Прозрачный прокси
  2004-08-26 13:11 [Comm] ðÒÏÚÒÁÞÎÙÊ ÐÒÏËÓÉ InboxISi
  2004-08-26 13:24 ` [Comm] рТПЪТБЮОЩК РТПЛУЙ Alexandr R. Ogurtzoff
@ 2004-08-27  4:33 ` Alexandr Rakhmanin
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandr Rakhmanin @ 2004-08-27  4:33 UTC (permalink / raw)
  To: community

InboxISi пишет:

>Коллеги,
>
>Как лучше всего сделать "прозрачный прокси", чтоб когда клиент (IE) идет на
>стандарный 80 порт без настроеного прокси сервера, то его запросы
>перенаправлялись бы на squid прокси?
>
>Достаточно ли что-то роде
>IPTABLES -t nat -A PREROUTING -p TCP --dport 80 -j REDIRECT --to-port 3128
>
>Илья Стрелкин
>  
>
>------------------------------------------------------------------------
>
squid.opennet.ru - все ответы

-- 
Всего наилучшего.
СисАдмин ЗАО "РСЦ".



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-27  4:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-26 13:11 [Comm] ðÒÏÚÒÁÞÎÙÊ ÐÒÏËÓÉ InboxISi
2004-08-26 13:24 ` [Comm] рТПЪТБЮОЩК РТПЛУЙ Alexandr R. Ogurtzoff
2004-08-27  4:33 ` [Comm] Прозрачный прокси Alexandr Rakhmanin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git