What to do after Fortinet VPNClient Crash in Ubuntu

At work they are using ForitGate VPN. To be able to work from home I have to use the FortiNetSSLVpnClient. It seems FortiGate is not compatible with any existing other VPN Clients. The forticlient some times crashes and this seem to result in routes not being cleaned up as it should be.

When I am in the office my Ubuntu 12.10 thinks I’m still using VPN and tries to tunnel the connections through the forticlient, which is not running of course. The result is that I get failures for connecting to certain internal domains and servers.

Ping to the servers doens’t work. That gives DNS Lookup failures but performing dnslookup works.

The fix! Flush the dns’s using

sudo /etc/init.d/dns-clean

Update:
Also check that the DNS entries in /etc/resolve.conf are correct. It is possible that the fortinet client did not clean it up as it should be.

Format time.

For a change I decided to give Ubuntu 11.04 a try on my laptop. With earlier version there were always issues with the wireless card disconnecting itself, these seem to be solved with the newest drivers so finally I don’t have a reason anymore to not use Ubuntu.

Installing Ubuntu is a piece of cake. Inserts cd, click a couple buttons and done. I disabled the Unity interface, didn’t like it at al!

Of course I need a JDK so sudo apt-get install sun-java6-jdk was my choice for installing the JDK.

Maven cannot be left out. It seems the software repository of Ubuntu only has a maven2, so I’ve manually downloaded maven3 from ASF, extracted and moved it to /opt/apache-maven-3.0.3 ( sudo mv apache-maven-3.0.3 /opt ) To be able to execute maven in the terminal I create a symlink to mvn in /bin ( ln -s /opt/apache-maven-3.0.3/bin/mvn /bin/mvn ) Now the maven executable should be reachable from any where.

Installing git and svn is also a piece of cake sudo apt-get install git and sudo apt-get install subversion

As IDE I use eclipse, there is an eclipse package from Ubuntu. But again, it’s not the latest and the greatest. I don’t want to wait for the latest to be packaged and then be able to just one click install it so this one also gets downloaded manually. I did the same as for maven and placed it in the /opt folder. I don’t know if that’s a good place for it but I’m the only one using that machine so I guess it’s ok.

Other applications installed: CopyXML Editor a very simple but effective xml editor.
FileZila ftp client.
Nautilus which adds icons and actions to files and folders that are connected with git or svn, just like tortoise on windows.
Replaced Evolution with Thunderbird.
Wireshark. MySQL Admin and Querybrowser.

Some other stuff installed from command line:
Gnu-gpg, ntfs. Mysql.

Probably I added more, but can’t remember. That is the reason for this post. If I post it I don’t have to remember, I can look it up.

%d bloggers like this: