> Hi,
>
> I am new to FreeBSD and PF but was wondering how I
could do using PF
> a rule from iptables on Linux.
>
> The rule using iptables in Linux is:
> iptables -t nat -A PREROUTING -p udp --dport 3322 -j
REDIRECT
> --to-ports 3323
rdr on $ext_if proto tcp from any to $ext_if port 86 ->
10.0.1.10 port
80
$ext_if is the interface facing the net, or I suppose the
side from
that you want to modify. if your looking to just change
port, I suppose
you could remove the IP at the end. Hope this helps.
Brandon
_______________________________________________
freebsd-pf freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to
"freebsd-pf-unsubscribe freebsd.org"
|