OS X Server This time... port forwarding

Jump to First Reply
Posted:
in Genius Bar edited January 2014
HOW THE HELL DO YOU DO IT?



I've tried :



natd -redirect_port tcp 192.168.1.6:25 25 (in terminal)



and got the following:

natd: aliasing address not given



So then i modified natd.conf.apple in /etc/nat by adding this: redirect_port tcp 192.168.1.6:25 25, and locked that file by: sudo chflags uchg /etc/nat/nat.conf.apple



To test it i have i tried to telnet to my xserve on port 25 and i was expecting to get forwarded to 192.168.1.6 (our mail server) but i got connection refused, while i can telnet to 192.168.1.6 25 without any problems



We have our own mail server and don't want to use postfix included with panther.



THIS SUPPOSED TO BE FREAKIN' EASY!!!
Sign In or Register to comment.