

In our case it’s mandatory to define it so we can also forward it. This port can be define in the license.dat file on the server. This second port is the Vendor Daemon port number I.E. Remember that we asked thru the port forwarding (the software asked not the server directly but a local with the local port forwarding). or software will send it’s requests for a key to that port but then a problem will occur when the flexlm server answers the client sortware to get it’s actual license key from a different port on the full server name. Your software using flexlm normally use LM_LICENSE_FILE variable (or a vendor defined variable) to find where the license is located.

(-N will not open a command session but will keep the tunnel open)

We will then create a local port 2300 on the localhost and forward it requests to the remote server’s license port. This can be done like this… Let say we want to forward all requests to a remote server license port but pass all requests via a local port. Using SSH or OpenSSH for Windows or Linux is easy to create a port forwarding. Access to Flexlm license server via a SSH tunnel with port forwarding is possible but require you to do some tweak in Windows or Linux client.
