Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2004 08:28:42 -0700
From:      Steve Drew <sdrew@shaw.ca>
To:        'Umar Draz' <konn_@msn.com>
Cc:        freebsd-ipfw@freebsd.org
Subject:   RE: IPFW (Biggner)
Message-ID:  <0HSK0005TGC0V3@l-daemon>
In-Reply-To: <20040204192806.0636123f.drl@void.net.my>

next in thread | previous in thread | raw e-mail | index | archive | help

Squid listens on inside interface then add ipfw rule as follows:

ipfw add 100 fwd <inside ip>,<squid port> tcp from any to any 80 in recv
<inside interface>

Of course you still need the correct squid settings to handle the
transparent connection as you would of done under linux.

/Steve.

-----Original Message-----
From: owner-freebsd-ipfw@freebsd.org [mailto:owner-freebsd-ipfw@freebsd.org]
On Behalf Of Darryl Yeoh
Sent: Wednesday, February 04, 2004 4:28 AM
To: Umar Draz
Cc: freebsd-ipfw@freebsd.org
Subject: Re: IPFW (Biggner)

On Sat, 24 Jan 2004 05:01:56 +0000
"Umar Draz" <konn_@msn.com> wrote:

> hi
> 
>   i am a new user of freeBSD.
> 
>    I have a server of Linux 7.3 with dsl connection. Now on Linux 7.3 i
have 
> configure Squid as transparent and also Linux 7.3 running as a Gatway.
> 
>    i have use these command for configure transparent Proxy for my users
> 
>    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j   REDIRECT 
> --to-port 8080
>    iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 202.147.x.x
> 
>    now its running fine. Every Thing is fine. My Client Just add my
>    linux 7.3's ip as a Gateway and DNS (and access internet)
> 
>    now i want Linux 7.3 replace with FreeBSD 4.8. so there is no
>    iptables in freeBSD. there is ipfw plz tel me how i can configure
>    my freebsd machine that my freebsd machine can work as a gateway
>    and also running squid as a transparent.
> 
>    thanks  and regards
> 
>    Umar Draz
> 
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> _______________________________________________
> freebsd-ipfw@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"

Hello,
 If everything is working fine for you with Linux, why do you need to change
it to something else ?

>
Best regards,
Darryl Yeoh

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0HSK0005TGC0V3>