Sunday, March 31, 2019

PF force egress route to a user

Hello there,

Riccardo Giuntoli writing from Spain, nice to hear from you.
In my pf.conf i want to force all outgoing connection from a specific user
in egress from a machine take a route different from the default. Something
like this (it doesn't work):

match out on egress inet proto {tcp udp} from self nat-to ($vpn_if) user
_tor

Is it possible? Can i isolate a specific user with rdomain and rtable?

Nice regards,

--
Name: Riccardo Giuntoli
Email: taglio@gmail.com
Location: Canyelles, BCN, España
PGP Key: 0x67123739
PGP Fingerprint: CE75 16B5 D855 842FAB54 FB5C DDC6 4640 6712 3739
Key server: hkp://wwwkeys.eu.pgp.net

No comments:

Post a Comment