Actually, NAT needs to be done in separate steps and quite manually.
You need to turn on NAT first of all.
You need to create firewall rules to allow for those addresses:ports to be forwarded from one address to another.
The biggest part is the /etc/nat/natd.conf.apple file:
interface en0
dynamic no
log no
log_denied no
deny_incoming no
use_sockets no
same_ports no
unregistered_only no
reverse no
proxy_only no
clamp_mss no
redirect_port tcp xxx.xxx.xxx.xxx:3389 3389
The “redirect_port” attribute has to be manually added to this file(as the plist screwes this up and isn’t working properly), and then you need to change the immutable flag on the file: chflgs uchg /etc/nat/natd.conf.apple.
Comments are closed