Redirection with a bridge ?

Renato Marques renato_fbsd at optrade.com.br
Fri Jun 18 19:45:36 PDT 2004


    Hmmm.. I really can't think about some solution... All of them involve a
router before, in or after the bridge.
    How about proxying before the bridge?



> So in summary, do I basically either have to do routing or a NAT, or
> find another alternative?  There's no way to just bridge the traffic and
> do what i want?
>
> Thanks! :)
>
> -Matt
>
> Renato Marques wrote:
>
> >    Well, in the TCP/IP Model, IP is layer 2 and TCP/UDP layer3.
> >
> >
> >
> >
> >>I dont think a bridge could do some like that. A bridge see only IP
> >>packets, where are no information about ports, ports are used in TCP and
> >>UDP.
> >>    Actualy, I think Layer 3 is where the IP protocol besides. NAT is
done
> >>on layer 4... but i could be wrong...
> >>
> >>
> >>
> >>
> >>>Hello all,
> >>>
> >>>Is there a way to do IP redirection without using layer 3? (IPNAT or
> >>>routing)?  I have a bridge setup and want to redirect any port 80
> >>>traffic outgoing through the bridge to a specific server .... but it
> >>>seems I can only do this with ipfw's forward/fwd or ipnat's rdr
commands
> >>>... which are all layer 3 oriented and dont work with just a bridge...
> >>>
> >>>Any ideas?
> >>>
> >>>Thank you in advance for anyone's help,
> >>>
> >>>Matt
> >>>_______________________________________________
> >>>freebsd-questions at freebsd.org mailing list
> >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>>To unsubscribe, send any mail to
> >>>
> >>>
> >>"freebsd-questions-unsubscribe at freebsd.org"
> >>
> >>
> >>_______________________________________________
> >>freebsd-questions at freebsd.org mailing list
> >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>To unsubscribe, send any mail to
> >>
> >>
> >"freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> >
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> >!DSPAM:40d37ad3273001065514757!
> >
> >
>
>



More information about the freebsd-questions mailing list