openvpn is making me use windows!!!
I'm tearing my hair out on this one. I need to vpn to my work regularly and all works fine if I use windows however, I can't get the blasted thing to work in Mandriva LE 2005.
It seems that the /dev/tun0 just doesn't register any activity and I get a TLS handshake error. I monitor the tun0 interface and nothing is going in our out of it. When I use example conf files copied from the net they don't work. Even the one from the official openvpn website!!! The very first line in the conf file "client" doesn't work with linux and I have to omit it.
Below is the config file that works fine for Windows but not for linux:
client #this line doesn't work in Mandriva
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194 #real ip address replaced by x's
resolv-retry infinite
nobind
persist-key
persist-tun
tls-auth ta.key 1
mute-replay-warnings #this line doesn't work in Mandriva
ca ca.crt
cert xnomad.crt
key xnomad.key
ns-cert-type server #this line doesn't work in Mandriva
cipher BF-CBC
comp-lzo
verb 3
mute 20
Even if I use a very very simple linux conf like below I don't get any activity on dev tun0 sniffing it with tcpdump brings up nothing:
dev tun0
proto udp
remote xxx.xxx.xxx.xxx 1194 #real ip address replaced by x's
ifconfig 10.8.0.12 10.8.0.13
I've added the following to my /etc/modprobe.conf
I saw it mentioned in some guides that this was required in some there was no mention of it:
alias char-major-10-200 tun
And I added the following to my /etc/rc.local
modprove tun
echo 1 > /proc/sys/net/ipv4/ip_forward
I've also disabled shorewall from interfering but that hasn't helped matters either.
I'm really hoping that for once someone will have an answer for me as I've tried loads of settings and searched the net high and low for an answer.
|