IPFW (Biggner)
Steve Drew
sdrew at shaw.ca
Wed Feb 4 07:30:14 PST 2004
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 at freebsd.org [mailto:owner-freebsd-ipfw at freebsd.org]
On Behalf Of Darryl Yeoh
Sent: Wednesday, February 04, 2004 4:28 AM
To: Umar Draz
Cc: freebsd-ipfw at freebsd.org
Subject: Re: IPFW (Biggner)
On Sat, 24 Jan 2004 05:01:56 +0000
"Umar Draz" <konn_ at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"
More information about the freebsd-ipfw
mailing list