Allow me to help close the communication gap. He's running squid on the same box as ipfilter. So he has no need for NAT. He's using an application proxy.
Now for the config. It's not realy complete, but it should get you started. # Put anti-spoofing stuff here block in log quick on eri0 from 10.0.0.0/24 to any # Allow access to squid (change 80 to your proxy port - 8080 or whatever) pass in quick on hme1 proto tcp all port = 80 flags S/SAFR keep state keep frags # Allow squid to access other servers (any port) pass out quick on eri0 proto tcp all flags S/SAFR keep state keep frags # OR - Allow squid to access other servers (standard ports only) pass out quick on eri0 proto tcp all port = 80 flags S/SAFR keep state keep frags pass out quick on eri0 proto tcp all port = 81 flags S/SAFR keep state keep frags pass out quick on eri0 proto tcp all port = 443 flags S/SAFR keep state keep frags pass out quick on eri0 proto tcp all port = 8000 flags S/SAFR keep state keep frags pass out quick on eri0 proto tcp all port = 8080 flags S/SAFR keep state keep frags # I assume DNS needs to work pass out quick on eri0 proto udp all port = 53 keep state keep frags pass out quick on eri0 proto tcp all port = 53 flags S/SAFR keep state keep frags # You may want NTP pass out quick on eri0 proto udp all port = 123 keep state keep frags # Allow ping and ICMP traceroute outbound pass out quick on eri0 proto icmp all icmp-type echo keep state # Allow UDP traceroute outbound (check your traceroute for port usage) pass out quick on eri0 proto udp all port > 33000 keep state # Needed for traceroute and for general TCP connection status pass in quick on eri0 proto icmp from any to 212.X.Y.Z icmp-type timex pass in quick on eri0 proto icmp from any to 212.X.Y.Z icmp-type unreach # Stuff you may or may not want pass in quick on eri0 proto icmp from any to 212.X.Y.Z icmp-type echo keep state # Block everything else block in log quick on eri0 block out log quick on eri0 block in log quick on hme1 block out log quick on hme1
