Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] openvpn question
  • From: Boris Epstein <borepstein@xxxxxxxxx>
  • Date: Mon, 15 Jun 2009 15:21:49 -0400
  • Message-id: <8fbac5ca0906151221u22542398sbf128e47a25b94a8@xxxxxxxxxxxxxx>
On Mon, Jun 15, 2009 at 3:17 PM, James Pifer<jep@xxxxxxxxxxxxxxxx> wrote:
Hi. I'm trying to create an openvpn connection. When I try to run it as
root I get the following output:

# /usr/local/sbin/openvpn --config myvpn.conf
Mon Jun 15 15:13:40 2009 OpenVPN 2.0.9 x86_64-suse-linux [SSL] [LZO] [EPOLL]
built on Jun 15 2009
Mon Jun 15 15:13:40 2009 IMPORTANT: OpenVPN's default port number is now
1194, based on an official port number assignment by IANA.  OpenVPN
2.0-beta16 and earlier used 5000 as the default port.
Mon Jun 15 15:13:40 2009 WARNING: file 'myvpn.key' is group or others
accessible
Mon Jun 15 15:13:40 2009 LZO compression initialized
Mon Jun 15 15:13:40 2009 UDPv4 link local: [undef]
Mon Jun 15 15:13:40 2009 UDPv4 link remote: [ipaddress]:1194
Mon Jun 15 15:13:41 2009 [server.does.not.exists] Peer Connection Initiated
with [ipaddress]:1194
Mon Jun 15 15:13:42 2009 Note: Cannot open TUN/TAP dev /dev/net/tun: No such
device (errno=19)
Mon Jun 15 15:13:42 2009 Note: Attempting fallback to kernel 2.2 TUN/TAP
interface
Mon Jun 15 15:13:42 2009 Cannot allocate TUN/TAP dev dynamically
Mon Jun 15 15:13:42 2009 Exiting

/dev/net/tun exists, but may have the wrong rights:
# ls /dev/net/tun -l
crw-rw---- 1 root users 10, 200 Apr 14 10:06 /dev/net/tun

I have openvpn client on Windows XP and it connects fine to this server.
Can anyone give me a hint on the TUN device? Been googling and looking
at the man pages...

Thanks,
James

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



What I have for the TUN device looks like this:

[antwerp@bepstein][~] ls -l /dev/net/tun
crw-rw-rw- 1 root root 10, 200 2007-09-21 17:50 /dev/net/tun
[antwerp@bepstein][~]

Don't know if this helps...

But you are basically saying that your OpenVPN works, error messages
notwithstanding... Or did I miss something?

Cheers,

Boris.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References