From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 12:41:40 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A52420D for ; Sat, 28 Feb 2015 12:41:40 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF6DBBA for ; Sat, 28 Feb 2015 12:41:39 +0000 (UTC) Received: by lbdu10 with SMTP id u10so22017251lbd.7 for ; Sat, 28 Feb 2015 04:41:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BburT8AK7aQAGnao/e/RC7qoNwcV7OIApPgzK6MXDJQ=; b=Pk27sA0HtAJddXWQF2/u6pfg7jDgZ1xYr2gT6IIGAliOiAsvpmnt3tA3Szk3ivU6/a ZGNIj1I/OkmrYmkRTHcDEKMKS75OflpjYrAOcWCHR0hPzCKMz3gJ1y9i0FWEFayQtMZW fV2TiElbewRnm2a4CVMhXi+9k5Yj7LQmeQrasFToDOYWavI24Zj3KqkyE12I7gj8/oXT LUPnEgjB3xhWeVoltJ8byuHT8EdsjEqXeQzTMaNgisxWkfqHNeHkDuTfQoTIY9Vux0KO JnpGE/ZzQzefSvpXQ5s9A+2n5W+GsxK8GcbEuadb19lKzcfmbcnOVHugKvcKqsYXexGf 8LfA== X-Received: by 10.112.170.100 with SMTP id al4mr16950502lbc.42.1425127297733; Sat, 28 Feb 2015 04:41:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.89.170 with HTTP; Sat, 28 Feb 2015 04:41:17 -0800 (PST) In-Reply-To: References: From: Monah Baki Date: Sat, 28 Feb 2015 07:41:17 -0500 Message-ID: Subject: Re: FreeBSD RDR question To: Odhiambo Washington Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 12:41:40 -0000 The user cannot access the internet. If he enters however the IP and port number in his browser he can access the internet. I have the server running in intercept mode, in my squid.con http_port 3128 intercept http_port 80 The log files display00:00:19.008499 rule 0..16777216/0(match): pass in on bge0: 10.0.0.111.5678 > 255.255.255.255.5678: UDP, length 93 00:00:00.764414 rule 0..16777216/0(match): pass in on bge0: 10.0.0.50.5678 > 255.255.255.255.5678: UDP, length 91 00:00:00.120755 rule 0..16777216/0(match): pass in on bge0: 10.0.0.56.5678 > 255.255.255.255.5678: UDP, length 91 00:00:00.070800 rule 0..16777216/0(match): pass in on bge0: 10.0.0.53.5678 > 255.255.255.255.5678: UDP, length 91 00:00:00.150908 rule 0..16777216/0(match): pass in on bge0: 10.0.0.55.5678 > 255.255.255.255.5678: UDP, length 91 00:00:09.898853 rule 0..16777216/0(match): pass in on bge0: 10.0.0.14.63515 > 10.0.0.24.22: Flags [S], seq 2684525113, win 8192, options [mss 1460,nop,wscale 2,nop,nop,sackOK], length 0 00:00:00.186720 rule 0..16777216/0(match): pass in on bge0: 10.0.0.54.5678 > 255.255.255.255.5678: UDP, length 91 Thanks On Sat, Feb 28, 2015 at 7:10 AM, Odhiambo Washington wrote: > By 'it's not working', what do you mean? > > What do you see in squid's access log? That would make more sense. > > Does 10.0.0.24 know how to get to the Internet? > > I need to read about WCCP2 because never used it before. It did look > simple enough though from the HOWTOs I read. > > > > > On 28 February 2015 at 15:03, Monah Baki wrote: > >> Hi all, >> >> I have a freebsd 10.1 running squid, it has a single interface (bge0). My >> Cisco is doing policy based routing and forwarding all http request to my >> Freebsd server. >> >> In my pf.conf I have the following rule: >> >> rdr on bge0 inet proto tcp from any to any port 80 -> 10.0.0.24 port 3128 >> >> >> Do I need to add anything else? Reason I ask, it's not working. >> >> >> Thanks >> Monah >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." >