[squid-users] Squid not redirecting traffic to the internet

Christopher Venters chris_sda7 at yahoo.com
Sat Jan 17 07:58:20 UTC 2015


Greetings,
The following is my squid.conf:
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1acl localnet src 10.0.0.0/8             # RFC1918 possible internal networkacl localnet src 172.16.0.0/12          # RFC1918 possible internal networkacl localnet src 192.168.0.0/16 # RFC1918 possible internal networkacl localnet src fc00::/7               # RFC 4193 local private network rangeacl localnet src fe80::/10              # RFC 4291 link-local (directly plugged) machinesacl SSL_ports port 443acl Safe_ports port 80                   # httpacl Safe_ports port 21                   # ftpacl Safe_ports port 443                 # httpsacl Safe_ports port 70                   # gopheracl Safe_ports port 210                 # waisacl Safe_ports port 1025-65535   # unregistered portsacl Safe_ports port 280                 # http-mgmtacl Safe_ports port 488                 # gss-httpacl Safe_ports port 591                 # filemakeracl Safe_ports port 777                 # multiling httpacl CONNECT method CONNECThttp_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_portshttp_access deny CONNECT !SSL_portshttp_access allow localnethttp_access allow localhosthttp_access allow allvisible_hostname Squid_Boxhttp_port 3128 interceptwccp2_router 172.16.1.1wccp2_forwarding_method grewccp2_return_method grewccp2_assignment_method hashwccp2_service standard 0hierarchy_stoplist cgi-bin ?coredump_dir /var/spool/squidrefresh_pattern ^ftp:           1440    20%     10080refresh_pattern ^gopher:        1440    0%      1440refresh_pattern -i (/cgi-bin/|\?) 0     0%      0refresh_pattern .               0       20%     4320--
Tunnel config:
DEVICE=tun0TYPE=GREDEVICETYPE=tunnelBOOTPROTO=noneMY_INNER_IPADDR=10.0.0.50# MY_OUTER_IPADDR=10.0.0.51PEER_OUTER_IPADDR=172.16.1.1PEER_INNER_IPADDR=10.0.0.51NETMASK=255.255.255.0ONBOOT=yesIPV6INIT=noUSERCTL=no--
After starting squid & running a tcpdump, I get the following & 172.16.1.200 is not getting out the the internet.
[root at Squid_Box ~]# tcpdump -i tun0tcpdump: verbose output suppressed, use -v or -vv for full protocol decodelistening on tun0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes17:50:46.033624 IP 172.16.1.200.53123 > 72.21.91.29.http: Flags [S], seq 3999260288, win 8192, options [mss 1460,nop,nop,sackOK], length 017:50:46.284319 IP 172.16.1.200.53124 > 72.21.91.29.http: Flags [S], seq 593798473, win 8192, options [mss 1460,nop,nop,sackOK], length 017:50:46.461485 IP 172.16.1.200.53125 > 64.233.171.104.http: Flags [S], seq 2397006369, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 017:50:46.741693 IP 172.16.1.200.53126 > 64.233.171.104.http: Flags [S], seq 1663740355, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0--
Any assistance will be greatly appreciated.
Thanks Much


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150117/963b646e/attachment.html>


More information about the squid-users mailing list