Topic: transparent proxy on remote server

Hi,

I'd like all chilli user traffic to go through an external proxy server that I host somwhere else (not inside the same box I'm running chilli).

I've been researching this for weeks and can't get the right iptables to get this to work. I have been able to get transparent proxying to work when the proxy server is on the same box, but I need the server to be centralized and remote.

Does anyone have an idea or sample iptables code I could use to get this to work? Normally the iptables command should contain something with tun0 I think.

Thanks in advance!

2 (edited by shmool 2008-01-29 21:29:07)

Re: transparent proxy on remote server

Maybe this?

https://faberlibertatis.org/wiki/Hotspot_Debian_Sarge_HOWTO

# iptables -t nat -A PREROUTING -i tun0 -p tcp -s 192.168.2.0/24 --dport 80 -j REDIRECT --to-destination 127.0.0.1:3128

Re: transparent proxy on remote server

shmool wrote:

Maybe this?

https://faberlibertatis.org/wiki/Hotspot_Debian_Sarge_HOWTO

# iptables -t nat -A PREROUTING -i tun0 -p tcp -s 192.168.2.0/24 --dport 80 -j REDIRECT --to-destination 127.0.0.1:3128

Lovely just what i have been looking for.

there is nothing like being sysadmin and owning your system, lazy Me, if i had really wanted to know i would have learnt!


: )thats a message mainly to myself.