Re: [CentOS] redirecting traffic using iptables

2011-02-23 Thread Jobst Schmalenbach
You are correct, I used section 6.1. Its working now thanks On Mon, Jan 31, 2011 at 01:49:08PM +0100, Giles Coochey (gi...@coochey.net) wrote: > On 31/01/2011 13:46, Jobst Schmalenbach wrote: > >Hi. > > > >I have two internet connections, the ADSL2+ is very > >very cheap (but fast 10mb) and

Re: [CentOS] redirecting traffic using iptables

2011-01-31 Thread Robert Spangler
On Monday 31 January 2011 07:46, Jobst Schmalenbach wrote: >iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to > $PROXY:3128 iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 443 -j > DNAT --to $PROXY:3128 > > browser tell me "invalid request". >From the man pages:

Re: [CentOS] redirecting traffic using iptables

2011-01-31 Thread Giles Coochey
On 31/01/2011 13:46, Jobst Schmalenbach wrote: Hi. I have two internet connections, the ADSL2+ is very very cheap (but fast 10mb) and I want to use the SHDSL (2mb) only for mail,ssh,http OUT and the ADSL2+ only for surfing. I all works fine if people specify the proxy in the browser, but in cas

[CentOS] redirecting traffic using iptables

2011-01-31 Thread Jobst Schmalenbach
Hi. I have two internet connections, the ADSL2+ is very very cheap (but fast 10mb) and I want to use the SHDSL (2mb) only for mail,ssh,http OUT and the ADSL2+ only for surfing. I all works fine if people specify the proxy in the browser, but in case like flash it of no use. Further if I can m