Hey everyone,
I've checked out DutchDaemon's answer here: https://forums.freebsd.org/threads/13715/#post-80232
But have not been able to get it to work in my own environment in Azure. I can pass traffic with no issue using something along these lines:
But of course this NAT's the source IP to the FreeBSD internal IP... Anyone have any ideas on where I'm going wrong?
I've checked out DutchDaemon's answer here: https://forums.freebsd.org/threads/13715/#post-80232
But have not been able to get it to work in my own environment in Azure. I can pass traffic with no issue using something along these lines:
Code:
nat log on $ext inet from !($ext) -> ($ext:0)
nat log on $ext from $localnet to any -> ($ext)
rdr pass log on $ext inet proto tcp from any to $ext port 22 -> $ssh_server