COMSOL through SSH tunnel
These instructions will allow comsol to be used within RESNET where VPN connections are blocked.
Download and configure Putty
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 license1.engr.ucsb.edu ANY 37054
Save the file
Now lauch Putty, load your saved connection settings and login to linux.engr.ucsb.edu.
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 license1.engr.ucsb.edu.
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:
# SN=XXXXXXX #SERVER localhost ANY 37054 SERVER license1.engr.ucsb.edu ANY 37054 USE_SERVER
Off campus it will read:
# SN=XXXXXXX SERVER localhost ANY 37054 #SERVER license1.engr.ucsb.edu ANY 37054 USE_SERVER