viernes, 11 de marzo de 2011

Proxy Tranparente Centos 5

solo basta agregar transparent en la linea de http_port

http_port 3128 transparent

y ejecutar las reglas

es conveniente introducir la ejecucion en rc.local para ke se ejecuten en el inicio

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128


exit 0

No hay comentarios:

Publicar un comentario

Instalar systemd y systemd-sysv

Instalar systemd y s ystemd-sysv Debian $apt-get update $apt-get upgrade  $apt-get install systemd  $apt-get install systemd-sysv  Este...