Hi guys ..

I have an issue where I'm told that squid and squidguard maybe a solution ..

The problem is my ISP will only allocate one IP address to my residentual 
cable account .. I run Apache with IP based virtual hosts so I can run 
serveral domains and ssl .. 

This setup works nicely internaly utilising my firewall's DNAT rules but I 
need to redirect external http traffic from my public IP address to their 
internal private IP address distinations ..

To date I have port numbers in the url's, is there a better way to accomplish 
this with squid & squidGuard .. I have both squid and squidGuard installed and 
running but not configured correctly to redirect http traffic as most 
documentation I've read focuses on blocking traffic .. 

I know that regex is going to be needed and I have some of experience of this 
language .. can someone post a small example or url of how this would look 
like ..

freddo.sycofly.com  >> redirected to  >> 192.168.1.13

#       acl aclname dstdomain   .foo.com ...    # Destination server from URL
#       acl aclname srcdom_regex [-i] xxx ...   # regex matching client name
#       acl aclname dstdom_regex [-i] xxx ...   # regex matching server
#       acl aclfreddo dstdom_regex [-i] freddo ...   # regex matching server

#acl aclsyco      src 192.168.1.2/255.0.0.0
#acl aclwww     src 192.168.1.2/255.0.0.0
#acl aclftp         src 192.168.1.10/255.255.255.0
#acl aclmail      src 192.168.1.11/255.255.255.0
#acl aclarea51  src 192.168.1.12/255.255.255.0
#acl aclfreddo  src 192.168.1.13/255.255.255.0
#acl aclfruit      src 192.168.1.14/255.255.255.0
#acl aclgeek      src 192.168.1.15/255.255.255.0
#acl aclpooley  src 192.168.1.16/255.255.255.0


thanks in advance ..
sycofly

Reply via email to