Ubuntu 10.10 & CTC - Cannot Authenticate.

Hi Guys,

I have just signed up to your service and tested successfully with a Windows 7 workstation.

My problem is that I cannot get a connection with either the Linux CTC Ubuntu client through Firefox or through the Terminal with open vpn on my Ubuntu 10.10 32bit laptop.

Terminal \ OpenVPN :

ben[at]Laptop01:~$ openvpn --config /etc/openvpn/client.conf --ca /home/ben/Downloads/ca.crt
Sun Dec 5 17:37:36 2010 OpenVPN 2.1.0 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 12 2010
Enter Auth Username:bpmorris
Enter Auth Password:
Sun Dec 5 17:37:43 2010 WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Sun Dec 5 17:37:43 2010 NOTE: OpenVPN 2.1 requires ‘–script-security 2’ or higher to call user-defined scripts or executables
Sun Dec 5 17:37:43 2010 LZO compression initialized
Sun Dec 5 17:37:43 2010 Attempting to establish TCP connection with [AF_INET] [nonblock]
Sun Dec 5 17:37:44 2010 TCP connection established with [AF_INET]
Sun Dec 5 17:37:44 2010 TCPv4_CLIENT link local: [undef]
Sun Dec 5 17:37:44 2010 TCPv4_CLIENT link remote: [AF_INET]
Sun Dec 5 17:37:45 2010 WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this
Sun Dec 5 17:37:53 2010 [ComodoVPNS-2] Peer Connection Initiated with [AF_INET]
Sun Dec 5 17:37:56 2010 Note: Cannot ioctl TUNSETIFF tap: Operation not permitted (errno=1)
Sun Dec 5 17:37:56 2010 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sun Dec 5 17:37:56 2010 Cannot allocate TUN/TAP dev dynamically
Sun Dec 5 17:37:56 2010 Exiting

CTC Through Firefox :
Once I enter my username and password it just stays at ‘Connecting…’ at the top of the screen.
If I click on ‘Configure Client’ or ‘Show Config’ I see the message ‘Config is not available!’

Any Suggestions on how to get either of these two methods to work for Ubuntu 10.10 32bit?



UPDATE - Using ‘Sudo’ at the terminal command line got the openvpn client working however I would like to get the official CTC Firefox client going. Also is there a way to only have traffic for a specific domain use the CTC? ie… hulu.com

Further Update…

I was able to import the config.conf file into Ubuntu’s VPN section the network manager and get a successful connection. This works however AAAALLLLL internet traffic is going down the tunnel which has slowed everything down. Next chalenge is just to figure out how to define only hulu.com traffic to use the VPN…

  1. Disable default route through TC
    Add into your Openvpn configuration file:

  2. Add routes for “hulu.com” through TC:
    route vpn_gateway
    route vpn_gateway

where “vpn_gateway” - special OpenVPN variable, not a special IP.

Thanks for the suggestion however the CTC client doesn’t appear to be working within Ubuntu 10.10 so I am trying to figure out how to use the native Ubuntu VPN client through network manager to only route to specific networks through comodo VPN tunnel…ie hulu.com.

I assume I need to configure the ‘IPv4 Settings\Routes’ however when I enter any details in there the VPN will only connect for a few seconds and then fail. This problem might be out of scope of this forum however I thought I might throw it out there incase others happen to have the same configuration working.

Is the CTC client suppose to work on Ubuntu 10.10?



Probably, it would be better to follow the recomendations given above and edit the Openvpn configuration file, rather than use Network Manager.

Is the CTC client suppose to work on Ubuntu 10.10?
CTC Client doesn't work on Ubuntu 10.10.