New answers tagged

-2

I think you need to create a daemon script then link a starter link on the required run level to start your squid. For example: cp /etc/init.d/skeleton /etc/init.d/squid then implement start() & stop() and restart() if needed. Now you need to link the created daemon to the desired run level but make sure that it has a sequence number after networking ...


0

try this iptables rules: iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 masquerade = allow private ip to access internet --dport 80 -j redirect --to-port 8080 = any request from private ip that access web will be redirected to our proxy server at port 8080.



Top 50 recent answers are included