ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Правила на iptables для заворачивания http-трафика на прокси
@ 2008-05-06  7:38 Денис Ягофаров
    0 siblings, 1 reply; 16+ messages in thread
From: Денис Ягофаров @ 2008-05-06  7:38 UTC (permalink / raw)
  To: sysadmins

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

Доброго времени суток!

Пробую заставить iptables перенаправлять трафик http-запросов
на сервер с прозрачным squid (http_port 3128 transparent). Использую
правила на роутере:
# iptables -t nat -A PREROUTING -i 192.168.0.0/16 -p tcp --dport 80 -j 
DNAT --to 10.3.0.5:3128
# iptables -t nat -A PREROUTING -i 192.168.0.0/16 -p tcp --dport 21 -j 
DNAT --to 10.3.0.5:3128

Что я забыл?


[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 279 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski sqr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
x-mozilla-html:FALSE
version:2.1
end:vcard


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

end of thread, other threads:[~2008-05-07  8:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-06  7:38 [Sysadmins] Правила на iptables для заворачивания http-трафика на прокси Денис Ягофаров
2008-05-06  8:01   ` Денис Ягофаров
2008-05-06  8:07     ` Владимир
2008-05-06  8:33       ` Денис Ягофаров
2008-05-06  8:27     ` Motsyo Gennadi aka Drool
2008-05-06  8:43       ` Денис Ягофаров
2008-05-06  8:46         ` Motsyo Gennadi aka Drool
2008-05-06  8:55           ` Денис Ягофаров
2008-05-06  9:36         ` Timur Batyrshin
2008-05-06  9:50           ` Денис Ягофаров
2008-05-06 10:07             ` Timur Batyrshin
2008-05-06 10:42               ` Денис Ягофаров
2008-05-06 11:20                 ` Timur Batyrshin
2008-05-06 16:51                   ` Vyatcheslav Perevalov
2008-05-07  7:43                     ` Timur Batyrshin
2008-05-07  8:19                       ` Денис Ягофаров

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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