Phil Allsopp wrote:
> I want to redirect all data transferred through port 80 (http) to
> port 8080 (my Proxy). This appears to be simple although it doesn't seem
> to work when I try the redirection using ipfw.
>
> Can anyone supply a command line that will do this. I suspect I will also
> have to modify the services file.
>
> I think the following is what shoukd be the correct command although I am
> unsure what to do with the services file:
>
> ipfw add divert 8080 80 from any to any IP
I'd suggest you reading divert(4) manpage first. You CAN NOT set up
a transparent proxy in such way. You need NAT (natd) at least.
SY, Yar
-----------------------------------------------------------------
Yaroslav Tikhiy, <yar@radio-msu.net> | Radio-MSU | Moscow, Russia
Received on Mon Apr 06 1998 - 08:43:15 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:36 MST