Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Port Mapping OS X Server

Port Mapping OS X Server
Thread Tools
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Aug 27, 2004, 01:18 AM
 
So, in the .conf file for natd, that is where you write rules that are your port mappings. Now normally you put this rules in natd.conf and all is good. But OS X Server makes the .conf file from natd.plist. So you have to put your rules in natd.plist. And its a plist, so its in XML format. My problem is that, I don't know how to write these rules as XML?

And another 'thing' I was thinking was, if I try to create my own DMZ using rules, then I have one 'blanket' rules that forwards all ports to machine X, and then I just need to write a bunch of rules that keep certain ports pointed to my server. Problem is my server has a dymanic IP, so how do I write a rules that "unforwards" a port? For instance port 80 need to not be forwarded, not be caught by the blanket dmz forwarding, which would be the last one in the list. Any ideas?
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 19, 2004, 07:38 PM
 
<beep>
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Sep 23, 2004, 03:49 PM
 
Sure there isn't a setting for this in Server Admin somewhere?
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 23, 2004, 05:27 PM
 
Yup I'm sure, port mappings have to be done in XML in the natd.plist file. There should be settings in the server admin app but unfortunately there aren't.
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 25, 2004, 12:52 AM
 
http://www.whatsmyip.org/170

There is the default natd.plist file. I think the problem is thats its supposed to be self-explanatory, and I simply don't get it. :-/
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:33 PM.
All contents of these forums © 1995-2013 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2013, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2