Jump to content

Filemaker Server behind NAT firewall


This topic is 2577 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm running Filemaker Server behind a NAT firewall in my data centre, and it mostly works fine.

The server is bound to a 192.168.1.xxx IP address, and the firewall which it's behind, uses NAT to forward the external public IP address to the internal IP address which the server is on.  All this works fine, except that on the Group Start Page, the "WEBD" buttons link to the internal 192.168.1.xxx IP numbers, which obviously don't work.

 

Just wondering if there's any way around this, without reconfiguring the firewall to not use NAT.

 

 

Link to comment
Share on other sites

If you access the group page via the internal IP, the link on the WebD button will also use the internal IP.

If you use a domain name, which is mapped to your server, this should work from both outside and inside, provided DNS and NAT is configured correctly.

 

e.g.:

http://myserver.company.com:16000/groups/group1

then the webD button will use this link:

http://myserver.company.com/fmi/webd/#fileName

Link to comment
Share on other sites

Interesting - so you think it might be displaying a URL based on 192.168.1.xxx because it can't do a reverse DNS lookup and obtain the right Hostname? If so, I should be able to fix it with a hosts file entry.

Just to clarify, I'm already successfully accessing the Group Start page externally by means of a domain name, but the WebD buttons show the internal IP number, even though the page it is displayed isn't loaded using 192.168.1.xxx/fmi/webd. There is no requirement to access it through an internal IP number, as nothing else is on that subnet.

Link to comment
Share on other sites

I think your server does not have a host DNS name set up. So yes, you might be able to fix by setting up a hostname on the machine.

I mostly work with Mac OS X servers and here all my servers are setup with a hostname.

Also have an internal DNS server, that resolves domain names, both those who can be accessed from outside and those who is only internally accessible.

On Mac OS X you use the server admin app to setup the hostname. (or you could use Terminal)

Link to comment
Share on other sites

Ok, I edited /private/etc/hosts to add a reverse lookup for my internal IP number, and restarted Web Publishing - didnt help.

The output of the "hostname" command is Filemaker-Server.local

I do run my own resolving DNS servers, by the way, so i could insert a zone file for 192.168.1 but nervous about unintended consequences.

Link to comment
Share on other sites

Well, if set correctly, the hostname on the machine should read-out a public accessibly domain name.

As you get the .local output, this indicates that there is not set a global hostname for your server.

I suggest that you use the Mac OS X Server Admin for this task as it will then work fine.

 

Jeroen: FMI could not have coded this any different. It sees that there is no global hostname for the server and instead of using the servername.local (which does not always works on all subnets), they use the IP address of the machine itself, which in this case is a LAN IP as he has a NAT to manage forwarding.

 

On my servers, this works as expected, but they all have a global hostname, instead of .local

Link to comment
Share on other sites

Hmm, ended up totally wrecking my Filemaker Server 13 install - good job there's no paying customers on it yet!

On the other hand, I did manage to fix it myself, and in the process, worked out how to start Filemaker Server 13 from cold, *without* rebooting the Mac:

 

sudo su - 

 

cd to /Library/LaunchDaemons

 
launchctl
 
start com.filemaker.fms
start com.filemaker.httpd.start
 
exit
 
(Mac OS X Mountain Lion 10.8.5, not Server version)

I'm inclined to agree with Jeroen Aarts, ended up setting the hostname back the way it was before.

Part of the problem was that the encryption keys are based on the hostname, so changing that renders them invalid.

Link to comment
Share on other sites

This topic is 2577 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Similar Content

    • By cbum
      Any Experience running FMS 16 on Big Sur?
      What about 15/16/17 clients?
    • By ahum
      Hi, my FMP server 13 PC crashed, I want to reinstall the Server but keep getting the APR not able to download problem, just like everybody else, just wonder does any one resolve this issues?
      Thanks,
      Andy
    • By Philip Sommers
      I currently administer a Filemaker 16 Server and only use Oracle Java for the admin console (web publishing is turned off). We want to get rid of Java rather than start paying for it. Rather than upgrade to FMS18, is it possible to use OpenJDK instead of Java for the FMS16 admin console? If so, is there anyone that can provide some guidance on how to do that?
    • By jjjjp
      After upgrading to FM Server 16, I am seeing that the automatic daily script executed from the server side is no longer doing so without error. The script sends email reminders to workshop presenters scheduled within 4 days. The error code, which I record in a log, is 119. However, that code isn't listed among the error codes listed in the online help:
      https://fmhelp.filemaker.com/help/16/fmp/en/#page/FMP_Help%2Ferror-codes.html%23
      Knowing the meaning of the error may provide useful information that will help me reconfigure the email account settings for the command Send Via SMTP Server.
      Thanks.
       
    • By "... you mean these fans?"
      Mr. Ignoramus
      We have a solution in Canada where we moved the db from a hosting company to a LAN ( customers building ) They are using a Mac OS machine running FileMaker 16 server.
      We access the FM 16 server via apple's remote access, having trouble locating where we would put the index.html and php files for our web form that we used when we were hosting on an outside hosting company.  The hosting company put the html/php file in the folder that designated our account number. 
      My question is this ... where would we put the two web files; index.html (form) and the .php (create record in FM) file on the FM 16 server.  I can not seem to locate the instruction via the documentation FM is providing.  Have done several internet search ...
      I am gathering information to pass to the individual helping us with the FM server at location.
      Anybody able to provide a link or guidance I would be grateful.
      Thank you.
       
  • Who Viewed the Topic

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.