Hi everyone,
I try to configure a pf nat rule which is only applied on a specific user. Is that possible? Because I always get a syntax error with the following rule:
In the log message I can see that the uid is logged correctly, so I don't understand why this should not work.
The main goal is to change the source address for outgoing connections for that user.
Thank you in advance.
I try to configure a pf nat rule which is only applied on a specific user. Is that possible? Because I always get a syntax error with the following rule:
Bash:
nat log on if1 from self to 1.2.3.4/32 user myuser -> 2.3.4.5
In the log message I can see that the uid is logged correctly, so I don't understand why this should not work.
Bash:
rule 1/0(match) [uid 555]: nat out on if1: 2.3.4.5.65243 > 1.2.3.4.80
The main goal is to change the source address for outgoing connections for that user.
Thank you in advance.