-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathParaHC.txt
More file actions
18 lines (11 loc) · 751 Bytes
/
Copy pathParaHC.txt
File metadata and controls
18 lines (11 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Reglas para redireccionar trafico a Servidor handy Cache
/ip firewall nat
add chain=srcnat comment="Enmascarando Para HC" src-address=192.168.1.0/24 action=masquerade
/ip firewall nat
add chain=dstnat comment="Redireccionando a HandyCache" protocol=tcp dst-port=80 in-interface=LAN src-address=!192.168.1.124 action=dst-nat disabled=no to-addresses=192.168.1.124 to-ports=1010
Evitar que Pasé por HC O Squid
/ip firewall address-list
add address=192.168.1.5 comment=ivpaste list=IPs_Fuera
Luego colocamos esta regla encima de cualquier regla de redirección al Proxy (si es Handy encima de “Redirect Handycache”)
/ip firewall nat
add chain=dstnat comment="Sacar listas IPs Web Fuera del Proxy" dst-address-list=IPs_Fuera