Notices


Reply
Thread Tools
Posts: 19 | Thanked: 2 times | Joined on Aug 2008 @ Morocco
#31
I've attached a copy of what my *.conf file looks like. I just edited out the sensitive info.
Attached Files
File Type: txt EXAMPLE.txt (4.0 KB, 288 views)
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#32
Seems to work for me. You could try to disable openvpn-applet and then enable it (or reboot).

Home applets don't seem to automatically restart after updating. I have to see if there is something that I could do about it for the next update.
 

The Following User Says Thank You to mikkov For This Useful Post:
Posts: 19 | Thanked: 2 times | Joined on Aug 2008 @ Morocco
#33
Originally Posted by mikkov View Post
Seems to work for me. You could try to disable openvpn-applet and then enable it (or reboot).

Home applets don't seem to automatically restart after updating. I have to see if there is something that I could do about it for the next update.
Thanks! That did the trick. I appreciate all of your help.
 
Posts: 3 | Thanked: 0 times | Joined on Sep 2008
#34
Why does the openvpn-applet work when i choose open option>test but not when i click client>start on n810 (assuming my config is client.conf)


I have been struggling for days to make it work.


The open option>test works but you cannot leave the openvpn-applet debug window, apparently the window is modal. Thus, you cannot do anything on the tablet while the debug window is open.


However, I can ping the vpn ip from another computer which shows the tunnel is up.


Even when I run it from the xterm /etc/init.d/openvpn start the vpn fails (FAILED)

When I ran openvpn --config /etc/openvpn/client.conf, I get Assertion Failed error message.

It seems vpn only works with the openvpn-applet option test mode.

Hope you could help me.


Thanks in advance,
 
Posts: 3 | Thanked: 0 times | Joined on Sep 2008
#35
mikkov, please disregard my post. While browsing the thread, I stumbled on post #21 at 08-31-2008, 01:45 AM where you suggested to get rid of the verb > 3.
which i did. Now it is working. Thanks to this wonderful thread. I have my openvpn working now.
 
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#36
Please forgive a newbie (both in N8x0 and OpenVPN use), but can I somehow make the applet remember the login and password for the OpenVPN connection?

I have imported the configuration I used in Tunnelblik and the CA cert file and when I enter the login and password at the prompt I get the connection, but is it possible to script the login and password somewhere so I wouldn't have to type them all the time?

I'm not in control of my password for OpenVPN and it's a very long sequence with digits and upper case symbols, there's no way I can remember it.

thanks!
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#37
This is a little bit late answer but you can define password in openvpn configuration file:

--auth-user-pass [up]
Authenticate with server using username/password. up is a file containing username/password on 2 lines (Note: OpenVPN will only read passwords from a file if it has been built with the --enable-password-save configure option, or on Windows by defining ENABLE_PASSWORD_SAVE in config-win32.h).

If up is omitted, username/password will be prompted from the console.

The server configuration must specify an --auth-user-pass-verify script to verify the username/password provided by the client.
Actually I am not sure if extras repo openvpn is built with --enable-password-save option. There is no other method at least for the moment.

see http://openvpn.net/index.php/documen...x-manpage.html
 
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#38
Mikko,
thanks that worked fine. I've had the CA cert and the UP filenames in double-quotes, as soon as I removed them it just worked.

PS. Also thanks for porting FreeCIV, BOS Wars .
 
Posts: 67 | Thanked: 13 times | Joined on Feb 2008 @ U.S.A.
#39
It won't import the configuration.

openVPN works from the CLI just fine, but it seems the applet can't handle the configuration. The applet parses the config file, and automatically populates the filenames for the certificates (although it fails to grab the ta.key). Then I tap "import selected" and it just brings me to an empty dialog box, with no indication about what the problem is. This is the config file I'm feeding it:
Code:
float
remote xxx.xxx.xxx.xxx xxxx
dev tun
persist-key
persist-tun
proto udp
pull
route-method exe
route-delay 2
nobind
tun-mtu xxxx
comp-lzo
auth-user-pass pwauth
auth xxxxxxxxxxxxxx
cipher xxxxxxxxxxxxxxx
tls-cipher xxxxxxxxxxxxxxxxxxx
tls-client
client
tls-auth ta.key 1
ns-cert-type server
ca ca.crt
cert client.crt
key client.key
keepalive 10 60
resolv-retry xxxxxxx
verb 1
log openvpn.log
Is there a way to manually force a file import? Eg. can I just drop them in a folder and edit a configuration file for the applet itself?
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#40
Thanks for the report. I will try to investigate this problem later.

Until I fix the problem you can copy configuration files directly to /etc/openvpn directory. Applet should see the .conf or .ovpn file from there.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:31.