Thread: Openvpn fails
View Single Post
barry99705's Avatar
Posts: 641 | Thanked: 27 times | Joined on Apr 2007
#7
This is how I have it set up. The openvpn.conf file and the p12 file are in the /etc/openvpn/ folder. My openvpn.conf file looks mostly like this,

Code:
#OpenVPN Server conf
tls-client
client
dev tun
proto udp
tun-mtu 1500
remote (ipcop address here) 1194
#Comment the above line and uncoment the next line, if you want to connect on the Blue interface
#remote (wifi access point address here) 1194
pkcs12 Nokia.p12
cipher BF-CBC
comp-lzo
verb 3
ns-cert-type server
The command to get it working is
Code:
openvpn --config /etc/openvpn/openvpn.conf
This works for me.

Originally Posted by mfresh View Post
OK - I've got a howto guide to getting OpenVPN running on the N800 if anyone is interested.

You'll find it on my N800 blog. It's kind of work in progress - if anyone has any comments or corrections they'd be gratefully received.

Cheers,
I am having problems with the vpn script you wrote. When I do a ./vpn , it does the whole gainroot thing, but stops there. Then when I exit out of root, it trys to finish and can't find the openvpn command.
__________________
Just because you are online, doesn't mean you don't have to form a full sentence.


SEARCH! It's probably already been answered.

Last edited by barry99705; 2007-07-18 at 21:55.