redirect port 80 to 8080 for single PC

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

 



dear friends,

I have a LTSP server which running squid also. what I
want is all user, including root on LTSP server must
use proxy server, if not they won't be able to connect
to internet.

on my LTSP server there are 2 network cards, eth0
which connected to LTSP network and eth1 which
connected to ADSL modem.

just realize that all LTSP client actually is same as
user in LTSP server itself.

so, basicly all http request in port 80 generated by
local user not by LTSP client.

now how to redirect this port 80 request from local
user to SQUID proxy server with port 8080.

I've try transparant proxy:

iptables -t nat -A PREROUTING -i eth1 -p tcp -dport 80
-j REDIRECT --to-port 8080

but still failure, I mean all user still can access
internet without proxy.

please help me. thanks.

LinuxMurah.com
dealer distro murah & lengkap


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


[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