* [Comm] iptables
@ 2004-09-07 7:57 Nikita Semenov
2004-09-07 11:20 ` solar
0 siblings, 1 reply; 2+ messages in thread
From: Nikita Semenov @ 2004-09-07 7:57 UTC (permalink / raw)
To: Community@altlinux.ru
Здравствуйте.
Сделан маскарадинг. Стоит сквид. Что надо сказать, что бы редиректить
все обращения с определенного IP на 80 порт прокси на, например, 800?
$IPTABLES -t nat -A PREROUTING -i eth1 -s 192.168.1.XX -p tcp --dport
80 -j DNAT --to-destination 192.168.1.66:800
Не помогает. Что не так?
--
Best regards,
Nikita Semenov
System Administrator
InterStep
+7(812)324-8020
nikita@inter-step.ru
ICQ: 3939833
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] iptables
2004-09-07 7:57 [Comm] iptables Nikita Semenov
@ 2004-09-07 11:20 ` solar
0 siblings, 0 replies; 2+ messages in thread
From: solar @ 2004-09-07 11:20 UTC (permalink / raw)
To: Nikita Semenov
NS> Здравствуйте.
NS> Сделан маскарадинг. Стоит сквид. Что надо сказать, что бы редиректить
NS> все обращения с определенного IP на 80 порт прокси на, например, 800?
NS> $IPTABLES -t nat -A PREROUTING -i eth1 -s 192.168.1.XX -p tcp --dport
NS> 80 -j DNAT --to-destination 192.168.1.66:800
NS> Не помогает. Что не так?
у меня на сквид заворачивает вот так:
iptables -A PREROUTING -p tcp -m tcp -s 10.1.30.9/255.255.255.255 --dport 80 -j REDIRECT --to-ports 3128
--
Best regards,
solar mailto:solar@solar.net.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-07 11:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-07 7:57 [Comm] iptables Nikita Semenov
2004-09-07 11:20 ` solar
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