getting packets on a specific port by pf

s m sam.gh1986 at gmail.com
Thu Nov 8 12:23:25 UTC 2012


 hello guys

i have a problem with getting packets which are diverted to a specific port
by PF. i mean i diverted my packets to a specific port by IPFW and want to
get these packets by PF to change them.
i used "ipfw add 1000 divert 8000 all form any to any" command to divert my
packets. how can i get these packets by pf on port number 8000?

pf has "divert-reply" option. should i use it to get packets? how? any
comments or hints are really appreciated.

thanks,
sam


More information about the freebsd-questions mailing list