No gateway:
IF_LAN = "ste0"
REDE = "192.168.1.0/24"
EXT_LAN = "ste1"
PROXY = "192.168.1.10"
pass in quick on $if_lan route-to ($if_lan) proto tcp from $REDE to any port 80
No proxy:
rdr pass on $if_lan proto tcp from $rede to $if_lan port 80 -> localhost port 3128
No gw
ipfw add fwd 192.168.1.10 tcp from 192.168.1.0/24 to not me 80
No proxy
ipfw add fwd localhost,3128 tcp from 192.168.1.0/24 to not me 80
Nenhum comentário:
Postar um comentário