Re: transparent Squid 2.5Stable10 + FreeBSD 5.3

From: fooler (fooler_at_skyinet.net)
Date: 06/21/05

  • Next message: p.r. faasse: "Re: FreeBSD 5.4 802.1q and linux stalls"
    To: <freebsd-net@freebsd.org>, "Ryan Rathje " <mrsharky@iastate.edu>
    Date: Tue, 21 Jun 2005 14:32:17 +0800
    
    

    ----- Original Message -----
    From: "Ryan Rathje " <mrsharky@iastate.edu>
    To: <freebsd-net@freebsd.org>
    Sent: Monday, June 20, 2005 11:40 PM
    Subject: transparent Squid 2.5Stable10 + FreeBSD 5.3

    > ipfw add allow all from any to 192.168.1.2 80
    > ipfw add fwd 192.168.1.2 tcp from any to 192.168.1.2 3128
    > ipfw add fwd 192.168.1.2,3128 tcp from any to any 80,82,3128 out recv
    > 192.168.1.2 xmit 129.186.215.57
    >
    > My gut feeling is it has something to do with my ipfw rules, any and ALL
    help
    > would get GREATLY appreciated. thanks

    yup your gut feeling is correct :->

    you dont need to enable IPFILTER if you use IPFW...

    your simple ipfw rule for transparent proxy looks like this:

    ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 in via <nic2 interface
    name>

    fooler.

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: p.r. faasse: "Re: FreeBSD 5.4 802.1q and linux stalls"

    Relevant Pages

    • Re: Network Routing Problems???
      ... I think your right Jeroen are you familiar with FreeBSD and ipfw rules? ... Jeroen Geilman wrote: ... |> I am having problems getting a connection to my FreeBSD gateway from my ...
      (comp.os.linux.networking)
    • Re: natd: failed to write packet back (Permission denied)
      ... C7 Campus Network System Administrator ... > last month I installed a working firewall using FreeBSD 4.4, ... I hope there isn't a mistake in the ipfw rules.. ...
      (FreeBSD-Security)
    • ipfw with DHCP [was: Re: ipfw by MAC]
      ... >>> Does the latest version of FreeBSD allow you to create ipfw rules ... >>> on MAC address instead of IP? ... with "unsubscribe freebsd-security" in the body of the message ...
      (FreeBSD-Security)
    • Re: ipfw by MAC
      ... > Does the latest version of FreeBSD allow you to create ipfw rules based ... > on MAC address instead of IP? ... with "unsubscribe freebsd-security" in the body of the message ...
      (FreeBSD-Security)