-SOLVED- Re: How to do PAT based on source IP network and port ?
Thomas Elsgaard
thomas.elsgaard at gmail.com
Sun Jul 18 03:59:19 UTC 2010
> HI
>
> I think that's a easier one
>
> rdr pass on $ext_if proto udp from any to $ext_if port 20000 -> 127.0.0.1
> port 69
>
>
>
Hi
I manged to solve the problem, here is the solution:
pass in on em0 proto udp from 10.5.1.0/24 to port 69 rdr-to 10.0.0.11
port 200001
pass in on em0 proto udp from 10.5.2.0/24 to port 69 rdr-to 10.0.0.11
port 200002
Thanks for the advices
Thomas
More information about the freebsd-pf
mailing list