pf rdr + netsed : reinject loop...

Norberto Meijome freebsd at meijome.net
Fri Aug 31 04:35:03 PDT 2007


On Fri, 31 Aug 2007 13:13:12 +0200
Mel <fbsd.questions at rachie.is-a-geek.net> wrote:

> I think you're looking for tagging, for example:
> rdr on $int_if proto tcp from 172.16.82.81 to any tag NETSED -> 127.0.0.1 port 
> 10101
> 
> Then you need to figure out how they come back and pass them through, for 
> example:
> pass in on $int_if proto tcp tagged NETSED keep state
> 
> See pf.conf(5) for more info. The examples section has one for spamd 
> redirection.

Mel, i think you are right. Thanks, I just haven't had my  brain switched on. I'll read the documentation and reply back with a solution for the list.

thanks so much again! :)
B

_________________________
{Beto|Norberto|Numard} Meijome

Do not take away the camels hump, you may be stopping him from being a camel.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.


More information about the freebsd-questions mailing list