All of lore.kernel.org
 help / color / mirror / Atom feed
* not solve yet!!!
@ 2005-07-25  6:07 john decot
  2005-07-25  6:11 ` Anthony Sadler
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: john decot @ 2005-07-25  6:07 UTC (permalink / raw)
  To: netfilter

Hello all,
 i am facing a problem in iptables as follows:
  i have  single nic which ip is eth0= x.x.x.x(public_ip)
    alias is  eth0:1=y.y.y.y( private_ip)
the proxy works when ip of server and port 3128 at lan connection is 
configured at client side(windows os).
But doesn't work without that whenever i flow traffic to proxy server, 
again i have used ip tables as:
 
iptables -A PREROUTING -t nat -p tcp --dport 80 -i eth0 -j REDIRECT --to-port 3128
 
with above it doesn't work then i tried following
iptables -A PREROUTING -t nat -p tcp --dport 80 -i eth0 -j DNAT  
$public_ip or $private_ip:3128
 
again the same result.
client pc and server is connect at same switch. and clients have 
private ip where as server has public as well as private ip.
any help will be appreciated.
 
thanks in advance.
john
 

		
---------------------------------
 Start your day with Yahoo! - make it your home page 

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <200507261217.j6QCHbEN024479@linux01.gwdg.de>]

end of thread, other threads:[~2005-07-27  7:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25  6:07 not solve yet!!! john decot
2005-07-25  6:11 ` Anthony Sadler
2005-07-26 16:50 ` Sergio Basurto Juarez
2005-07-27  7:53 ` Jörg Harmuth
     [not found] <200507261217.j6QCHbEN024479@linux01.gwdg.de>
2005-07-27  6:27 ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.