Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 17:46:57 +1000
From:      Dewayne Geraghty <dewaynegeraghty@gmail.com>
To:        freebsd-questions@freebsd.org, freebsd-pf@freebsd.org
Subject:   Re: `echo <something> | pfctl -mf -` overriding instead of modifying
Message-ID:  <CAGnMC6rDGEULcsx2R2=hzjq_8Y+eLdG+viHT8bnMgt-jMyQPWQ@mail.gmail.com>
In-Reply-To: <20160518072409.GD99839@box-fra-01.niklaas.eu>
References:  <20160518072409.GD99839@box-fra-01.niklaas.eu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAGnMC6rDGEULcsx2R2=hzjq_8Y+eLdG+viHT8bnMgt-jMyQPWQ>