* Ed White <[EMAIL PROTECTED]> [2004-03-23 19:02]:
> iptables -t nat -A PREROUTING -p tcp --destination-port 6969 -j REDIRECT 
> --to-port 9090
> 
> 
> 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 -

-- 
Henning Brauer, BS Web Services, http://bsws.de
[EMAIL PROTECTED] - [EMAIL PROTECTED]
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to