All of lore.kernel.org
 help / color / mirror / Atom feed
* Re:Setting up a proxy with iptables
@ 2008-08-02  7:18 linuxmc
  2008-08-02  8:04 ` Setting " Michele Petrazzo - Unipex srl
  0 siblings, 1 reply; 7+ messages in thread
From: linuxmc @ 2008-08-02  7:18 UTC (permalink / raw)
  To: sargon97; +Cc: netfilter


Hi, have you try with a rule like

$IPTABLES -t nat -A PREROUTING  -p tcp -m tcp   --dport 80 -j DNAT --to-destination 82.109.120.222:8080

?

Best regards !
Marco 


---------- Initial Header -----------

From      : netfilter-owner@vger.kernel.org
To          : netfilter@vger.kernel.org
Cc          : 
Date      : Fri, 1 Aug 2008 16:24:34 -0700
Subject : Setting up a proxy with iptables







> Hi,
> 
> I am trying to set up a proxy with iptables nothing seems to work. I  
> would like to forward outbound traffic destined to port 80 on an  
> external ip address to localhost port 8080.
> 
> Thanks in advance for the help.
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Setting up a proxy with iptables
@ 2008-08-01 23:24 Shawn Fitzgerald
  0 siblings, 0 replies; 7+ messages in thread
From: Shawn Fitzgerald @ 2008-08-01 23:24 UTC (permalink / raw)
  To: netfilter

Hi,

I am trying to set up a proxy with iptables nothing seems to work. I  
would like to forward outbound traffic destined to port 80 on an  
external ip address to localhost port 8080.

Thanks in advance for the help.

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

end of thread, other threads:[~2008-08-05 17:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02  7:18 Re:Setting up a proxy with iptables linuxmc
2008-08-02  8:04 ` Setting " Michele Petrazzo - Unipex srl
2008-08-04 21:06   ` Shawn Fitzgerald
2008-08-05  6:31     ` Michele Petrazzo - Unipex srl
2008-08-05 16:46       ` Shawn Fitzgerald
2008-08-05 17:28         ` Billy Crook
  -- strict thread matches above, loose matches on Subject: below --
2008-08-01 23:24 Shawn Fitzgerald

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.