COMSOL through SSH tunnel

From Help-ME

(Difference between revisions)
Jump to: navigation, search
Line 24: Line 24:

Current revision as of 23:27, 12 March 2010

These instructions will allow comsol to be used within RESNET where VPN connections are blocked.

Download and configure Putty

  1. Go to and click on "putty.exe" to download it.
  2. Save it to your desktop
  3. Double click on "putty.exe" on your desktop
  4. Under "Host Name (or IP address)" type "" (without quotes.)
  5. Under "Saved Sessions" type a name for this session like "Engineering Linux Server" (without quotes.)
  6. Click "Save" button.
  7. Click the plus sign next to "SSH" in the menu on the left.
  8. Click "Tunnels" in the menu that expanded below.
  9. For "Source port" type "37054" (without quotes.)
  10. For "Destination" type .
  11. Click the "Add" button.
  12. In the menu on the left, click "Session" near the top.
  13. Click the "Save" button again to save tunnel settings.



Now you have to edit which license server your COMSOL installation is pointing to.
Go to the C:\COMSOL35a\license directory.
Right click the license.dat file and select Edit or Open With and select Notepad.

We'll now add a second server to the license file and comment out the one that is not in use.
Insert a new second line that reads SERVER localhost ANY 37054
Add a # before the line that reads SERVER ANY 37054
Save the file

Now lauch Putty, load your saved connection settings and login to
Lauch COMSOL, a license should be retrieved and you should be able to work normally. With the edited license.dat file you'll be able to get a license from

When you are back on the campus network, you must switch which line of the license.dat file is commented out.

On campus the file should read:

#SERVER localhost ANY 37054

Off campus it will read:

SERVER localhost ANY 37054
Personal tools