Redirect Incoming port 80 connections to port 8080.

Jeff Hedley jeffh at
Thu Jul 26 22:23:12 UTC 2007

I am having a problem getting a Dansguardian + Squid transparent
proxying system going for a client.  The following is what i want to do,
but cannot figure out how to get it working using ipfw + natd:

[Host]  - - sends request to router
[Router]  - - receives request for but sets
  |          proxy server as next hop for transparent proxy purposes.
  |        - Not transparently proxyed yet.
[FreeBSD Proxy] - - receives request for
  |             - request gets transparently proxied to
  |               (this is the part I don't know how to do).
  |             - runs through Dans, then Squid.
  |             - Squid sends request out to router again.
  |             - Outing squid requests get NATed to (also
  |               don't know how to do this).
[Router]  - - receives the request for again,
  |          but request is allowed through since it's coming from

Can you tell me how I would setup the FreeBSD box to do what i want
using ipfw and natd?

Jeff Hedley
TC Networks, Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list