Re:Setting up a proxy with iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
To          : netfilter@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux