On Tuesday 23 March 2004 19:59, Henning Brauer wrote:
> > I said them that PF doesn't support adding rules by command line, so they
> > should use kernel IOCTL.
>
> wrong.
>
> echo "rdr on $someif proto tcp to port 6969 -> 127.0.0.1 port 9090" \
>
> | pfctl -a someanchor:someruleset -f -
You need to modify the ruleset.
In fact you need an anchor...
They want to add a rdr when the tool is started and remove it before stopping
the tool. Something automagical and that doesn't need user complicity.
Ed