Search squid archive

Squid not redirecting traffic to the internet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

The following is my squid.conf:

acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 10.0.0.0/8             # RFC1918 possible internal network
acl localnet src 172.16.0.0/12          # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7               # RFC 4193 local private network range
acl localnet src fe80::/10              # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80                   # http
acl Safe_ports port 21                   # ftp
acl Safe_ports port 443                 # https
acl Safe_ports port 70                   # gopher
acl Safe_ports port 210                 # wais
acl Safe_ports port 1025-65535   # unregistered ports
acl Safe_ports port 280                 # http-mgmt
acl Safe_ports port 488                 # gss-http
acl Safe_ports port 591                 # filemaker
acl Safe_ports port 777                 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access allow all
visible_hostname Squid_Box
http_port 3128 intercept
wccp2_router 172.16.1.1
wccp2_forwarding_method gre
wccp2_return_method gre
wccp2_assignment_method hash
wccp2_service standard 0
hierarchy_stoplist cgi-bin ?
coredump_dir /var/spool/squid
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320
--

Tunnel config:

DEVICE=tun0
TYPE=GRE
DEVICETYPE=tunnel
BOOTPROTO=none
MY_INNER_IPADDR=10.0.0.50
# MY_OUTER_IPADDR=10.0.0.51
PEER_OUTER_IPADDR=172.16.1.1
PEER_INNER_IPADDR=10.0.0.51
NETMASK=255.255.255.0
_ONBOOT_=yes
IPV6INIT=no
USERCTL=no
--

After starting squid & running a tcpdump, I get the following & 172.16.1.200 is not getting out the the internet.

[root@Squid_Box ~]# tcpdump -i tun0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tun0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
17: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 0
17: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 0
17: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 0
17: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



_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux