Hello
I have a server with multiple public IP and contain various jails with internal IP (rfc1918). When I need to access outside, always use the same IP (as defined route) How I can change behavior and make forwarding and pretend to go out with some IP? I need it because many of the teams to which I connect, need to specify the source IP of the connection.
It occurred to me to use NAT for output, but not if it worked well or has a more optimal and best of it.
Thank you very much.
Regards
I have a server with multiple public IP and contain various jails with internal IP (rfc1918). When I need to access outside, always use the same IP (as defined route) How I can change behavior and make forwarding and pretend to go out with some IP? I need it because many of the teams to which I connect, need to specify the source IP of the connection.
It occurred to me to use NAT for output, but not if it worked well or has a more optimal and best of it.
Code:
pass out on em1 from INTERNAL to any nat-to PUBLIC
pass out on em1 from INTERNAL to any
Thank you very much.
Regards