dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
664
share rss forum feed


vitesse

join:2002-12-17
Saint-Jean-Sur-Richelieu, QC
Reviews:
·voip.ms
·ELECTRONICBOX
·Bell Sympatico
·Videotron

1 edit

setting transparent proxy on router

I have a routeros v5 router and squid proxy running on 1 computer.

the squid proxy is running on 192.168.1.254 machine

I use this rules to use the proxy.

/ip firewall nat
add chain=dstnat action=dst-nat protocol=tcp src-address=192.168.1.0/24 dst-port=80 to-addresss=192.168.1.254 to-ports=3128

but I think it's bad because the machine running proxy wanting to access to internet will connect to itself in a loop.

but I don't know how to do it so everything pass by the proxy except the proxy itself. this is probably why it doesn't work actually.

many thanks for your help.
--
Connection: ElectronicBox 60mbps / 3mbps
Bilingual DSLR ElectronicBox Forum: »ELECTRONICBOX