If you gateway is the same of your proxy server...
for ipchains:
ipchains -A input -p TCP -d 0/0 80 -j REDIRECT <port of your proxy server>
for iptables:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port <proxy port>
----- Original Message -----
From: "Warly V. Rafinian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 1:09 PM
Subject: [plug] force proxy
>
> good day,
>
> i just want to ask how do i force my wokstation to use my proxy server
> (squid) even if my worstation's browser is configured direct connection
> to the internet using ipchains or iptables?
>
> tenks....
>
>
>
> _
> Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]