On 2024-03-12, Joel Carnat <j...@carnat.net> wrote:
> Hi,
>
> I have a server with a single NIC but several IPs configured:
> # cat /etc/hostname.vio0
> inet 192.0.2.10 255.255.255.0
> inet alias 192.0.2.11 255.255.255.0
> inet alias 192.0.2.12 255.255.255.0
>
> The default gateway is set to 192.0.2.1 in /etc/mygate.
>
> I would like outgoing network traffic to randomely appear coming from 
> any of those IPs.

Can be done with PF nat-to: either one rule with an address pool, or
multiple rules with probabilities (e.g. for three: 33%, 50%, plus one
with no probability to catch the rest).


Reply via email to