`echo <something> | pfctl -mf -` overriding instead of modifying

Dewayne Geraghty dewaynegeraghty at gmail.com
Wed May 18 07:47:29 UTC 2016


Niklaus,
Would you please reverse the order and advise?  That is try:
     exec.poststart += "echo 'rdr pass on vtnet0 inet6 proto { udp tcp } to
vtnet0 port domain ->   $private_ip6' | pfctl -a 'jails/$name' -mf -";
   exec.poststart += "echo 'rdr pass on vtnet0 inet  proto { udp tcp } to
vtnet0 port domain ->   $private_ip4' | pfctl -a 'jails/$name' -f -";

Regards, Dewayne.


More information about the freebsd-questions mailing list