NAT should work fine. Can you PING the server from behind the NAT? You need to allow ports 2080 and 27000 thru the NAT forwarded to the NLM server. No other protocols should be using this ports anyway. You can either point to the NAT and port forward or open the ports and access to the server thru the NAT. You might need to increase the FLEXLM_TIMEOUT system variable with the extra hops.
Let me know what errors or problems you are getting.
It certainly wouldn't hurt to set the variable. You can at least try it as a test.
You can also check port connectivity from the client to the server by using Internet Explorer (not 3rd party browsers.)
Simply open IE and go to the following address ports:
http://servername:27000 - LMGRD Master Daemon
http://servername:2080 - ADSKFLEX Vendor Daemon
Just replace servername with the hostname or IP addres of your NLM server. When you do so, you should receive a page with jargon that looks similar to this on both:
Wê-60Wê-60Wê-60Wê-60Wê-60Wê-60Wê-60
This will at least verify that there is no connectivity, firewall, or other problem impeding your path. If you get a 'page cannot be displayed' error, then you should probably look into it.
Assuming this works, try setting the FLEXLM_TIMEOUT system environment variable to 1000000 and give it another test.
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=7574782&linkID=9240617
Are you getting any specific error at the client?
The tests on http://server:2080 and http://server:27000 are fine, we get binary data.
Setting FLEXLM_TIMEOUT as suggested does not change anything.
When the client tries to get a license, it gets an error saying network licence manager could not obtain a valid license. It reports error -15.570.10035 (sorry I should have reported that at once)
Try setting the LICPATH.LIC to the IP address of the server. If you're getting -15 error, it is usually connectivity. Since your ports to 2080 and 27000 are working, there is something else going on. You can try increasing your FLEXLM_TIMEOUT by more as well. Each million delays the timeout by one second.
What do you get when you PING the server? IPv4 of the NAT or the NLM Server? Or do you get IPv6?
I have to correct a previous statement (I am not the end user, I forward back and forth, and sometime some information gets misquoted). The -15 error is a rare thing, and I am now convinced it happened some day the licence server was down.
However, it still does not work,it is just taht most of the time there is no error message. The user gets three FlexNet Licence Finder dialogs, one asking if a licence server IP or a licence file path is to be entered. The second dialogs asks for the licence server IP (setting LICPATH.LIC does not alter that behaviour), and the third asks to clock the "finish" button. When we do that, we immediatly go back to the first dialog without any error reported.
Increasing FLEXLM_TIMEOUT does not change anything. If the licence server is down we get the -15 error.
When sending a ping to the licence server, we get a reply from the licence server itself, not from the NAT.
It's good that you get a ping response from the NLM server. That proves connectivity. You might also set the ADSKFLEX_LICENSE_FILE variable with the @servername. You can also use the IPv4 address here too.
My NLM server is behind a NAT, so I know this works.
Shouldn't really matter who is behind what. So long as there is connectivity, it could be a NAT, Router, VPN, or a can and string. If you can PING the NLM and have access to ports 2080 and 27000, then you should be able to get a license. Most often the problem is either Firewall or timeout.
For some reaseon I have trouble to grasp, my message is displayed without content. Here is it again.
It is nice to know it should be working, but it would be even nicer to have this actually working.
We know that ping, TCP 2080 and TCP 27000 connectivity is fine. However, the client still cannot get a licence, it just loops on the dialogs about selecting a licence server/file. ADSKFLEX_PATH did not help.
Double check the client and make sure that the system environment variables are set correctly for FLEXLM_TIMEOUT and for ADSKFLEX_LICENSE_FILE
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=7574782&linkID=9240617
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=8385605&linkID=9240617
Make sure @SERVERNAME is the hostname of your NLM server. These two variables solve the license finder box almost 99% of the time based on your description.
Just to make sure: once the variable are set, I should not see the three dialogs of licence finder anymore, right? If I still have them, it means the variable is not set or is not taken into account?
If correctly set on the client, your problem should be resolved if connectivity is indeed working.
Sure, but will setting the variable make the licnece finder windows disapear?
That's the hope!