Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to the Linux world.

I set up Ubuntu 12.04 on my laptop. Everything had been fine before I installed and configured forticlient SSL VPN for my company's network. After this Ubuntu can't connect to the internet without that VPN connection.

What do you think is the problem? How can I connect to the internet without a VPN connection?

This is what ifconfig shows while not connected to vpn:

eth0      Link encap:Ethernet  HWaddr 64:31:50:99:39:ab  
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
      inet addr:  Mask:
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:16436  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 68:a3:c4:78:86:32  
      inet addr:  Bcast:  Mask:
      inet6 addr: fe80::6aa3:c4ff:fe78:8632/64 Scope:Link
      RX packets:255309 errors:0 dropped:0 overruns:0 frame:0
      TX packets:166003 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:295897343 (295.8 MB)  TX bytes:20157641 (20.1 MB)
share|improve this question

The problem lies in the /etc/resolv.conf file. Forticlient doesn't do a good job in changing this file.

Change it to yours default values, then change in the file


the line

echo "restore /etc/resolv.conf" >> "$base/forticlientsslvpn.log"


echo "restore /var/run/resolvconf/resolv.conf" >> "$base/forticlientsslvpn.log"

It is working for me. My connection was slower but it is now back to normal. I have Ubuntu 12.04 x64.

I uncompress the binaries on /opt/ so all is there

Mi .log file looks like

10/29/2013 13:42:34 [4168] starting pppd
10/29/2013 13:42:34 [4168] use tty:/dev/pts/2
10/29/2013 13:42:34 [4168] connecting to "hostXX":10443
10/29/2013 13:42:35 [4168] Got local address from ppp, interface will be  up
10/29/2013 13:42:39 [4168] ppp interface is up
10/29/2013 13:42:39 [4168] run_scutil XXX.XXX.106.77 0...
begin sysconfig linux
Generating pppd.resolv.conf...Done
nameserver  XX.XX.3.254
nameserver  XX.XX.4.11
server route 
interface ppp0
address XX.XX.101.73
delete route
Add route for XXX.XX.106.77(
route -n add -net XX.XX.4.165 netmask gw XX.XX.101.73

I execute the binaries with sudo

share|improve this answer
You are using a relative path forticlientsslvpn/helper/ maybe it would be better to describe what/where is it. Also I am wondering if content of a file with suffix .log is important for the behaviour of the software? Are you sure that changing content of the file forticlientsslvpn.log makes the difference? – pabouk Oct 29 '13 at 17:33
I will answer the questkins in the last comment. – martincito Oct 29 '13 at 17:42
if [ -f "$base/resolv.conf.backup" ]; then echo "restore /var/run/resolvconf/resolv.conf" >> "$base/forticlientsslvpn.log" mv -f "$base/resolv.conf.backup" /etc/resolv.conf There is the change, Do you think this dont make any change to the process of restore the resolv.conf archive? – martincito Oct 29 '13 at 18:04
echo "restore /var/run/resolvconf/resolv.conf" >> "$base/forticlientsslvpn.log" defines only what is written into forticlientsslvpn.log. If content of the .log file changes later behaviour of the software then it is OK. I am just wondering if this is really the case. – pabouk Oct 29 '13 at 18:10
sudo apt-get remove --purge resolvconf
sudo /etc/init.d/networking restart

share|improve this answer
You should explain what these commands do and why they're required. I'm inclined to believe this will fix his problem, but this answer could be much better. – jozzas Aug 28 '13 at 21:18
I have faced same problem, it did helped me , Cheers – Kishorevarma Mar 15 '14 at 15:52

VPN clients typically perform additions to the routing table, perhaps this is causing a problem. Please post the output of ifconfig and netstat -r

Also, it is possible the network that you connected to used a proxy auto config file (PAC). Perhaps it left your browser pointing to a proxy that is only accessible while connected to VPN? Can you ping when connected to the internet but not on VPN?

share|improve this answer
Hi @Gregg, It can't ping while doesn't connect vpn. And here is the other informations you want netstat-r; Destination Gateway Genmask Flags MSS Window irtt Iface default UG 0 0 0 wlan0 link-local * U 0 0 0 wlan0 * U 0 0 0 wlan0 I have just edited original post with ifconfig because of it is too long – Emre Jun 3 '13 at 21:49
@Emre what do you mean by "doesn't ping"? If you can ping but ping gives an unknown or no route to host error, it may be a DNS (nameserver) issue, where your VPN has stuck its own DNS servers in your network config and overwritten the non-VPN ones. – jozzas Aug 28 '13 at 21:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .