I'm not a big expert in networking, but my ultimate goal is to get Transmission to tunnel through a VPN connection. To do this, I'm trying to get OpenVPN working with FrootVPN by following their instructions here:
https://www.frootvpn.com/guides/linuxdebian-19.html
I installed openvpn from "apt-get install openvpn", not as the OMV plugin. I have managed to download and setup the configuration file, and have redirected the ports to the OMV machine. However, when I run the openvpn command from SSH, I get the following output:
Code
root@hippo:~# openvpn /etc/openvpn/frootvpn.ovpn
Fri Nov 14 12:41:50 2014 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jun 18 2013
Enter Auth Username:Nibb31
Enter Auth Password:
Fri Nov 14 12:42:01 2014 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Nov 14 12:42:01 2014 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Nov 14 12:42:01 2014 Socket Buffers: R=[212992->131072] S=[212992->131072]
Fri Nov 14 12:42:01 2014 RESOLVE: NOTE: se-openvpn.frootvpn.com resolves to 8 addresses
Fri Nov 14 12:42:01 2014 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Fri Nov 14 12:42:01 2014 Local Options hash (VER=V4): '3514370b'
Fri Nov 14 12:42:01 2014 Expected Remote Options hash (VER=V4): '239669a8'
Fri Nov 14 12:42:01 2014 UDPv4 link local: [undef]
Fri Nov 14 12:42:01 2014 UDPv4 link remote: [AF_INET]178.73.212.198:1204
Fri Nov 14 12:42:01 2014 TLS: Initial packet from [AF_INET]178.73.212.198:1204, sid=027bf01b 844efb16
Fri Nov 14 12:42:01 2014 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Nov 14 12:42:02 2014 VERIFY OK: depth=1, /C=SE/ST=QQ/L=FrootTown/O=FrootOrg/OU=changeme/CN=changeme/name=changeme/emailAddress=mail@host.domain
Fri Nov 14 12:42:02 2014 VERIFY OK: nsCertType=SERVER
Fri Nov 14 12:42:02 2014 VERIFY OK: depth=0, /C=SE/ST=QQ/L=FrootTown/O=FrootOrg/OU=changeme/CN=server/name=changeme/emailAddress=mail@host.domain
Fri Nov 14 12:42:02 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Nov 14 12:42:02 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Nov 14 12:42:02 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Nov 14 12:42:02 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Nov 14 12:42:02 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Fri Nov 14 12:42:02 2014 [server] Peer Connection Initiated with [AF_INET]178.73.212.198:1204
Fri Nov 14 12:42:05 2014 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Fri Nov 14 12:42:05 2014 PUSH: Received control message: 'PUSH_REPLY,ifconfig-ipv6 2a00:1a28:1164:a::1008/64 2a00:1a28:1164:a::1,dhcp-option DNS 80.67.0.2,dhcp-option DNS 91.213.246.2,redirect-gateway def1,route-ipv6 2000::/3,tun-ipv6,route-gateway 46.246.73.65,topology subnet,ping 10,ping-restart 160,ifconfig 46.246.73.74 255.255.255.224'
Fri Nov 14 12:42:05 2014 OPTIONS IMPORT: timers and/or timeouts modified
Fri Nov 14 12:42:05 2014 OPTIONS IMPORT: --ifconfig/up options modified
Fri Nov 14 12:42:05 2014 OPTIONS IMPORT: route options modified
Fri Nov 14 12:42:05 2014 OPTIONS IMPORT: route-related options modified
Fri Nov 14 12:42:05 2014 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Nov 14 12:42:05 2014 ROUTE default_gateway=192.168.1.254
Fri Nov 14 12:42:05 2014 ROUTE6: default_gateway=UNDEF
Fri Nov 14 12:42:05 2014 TUN/TAP device tun0 opened
Fri Nov 14 12:42:05 2014 TUN/TAP TX queue length set to 100
Fri Nov 14 12:42:05 2014 do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=1
Fri Nov 14 12:42:05 2014 /sbin/ifconfig tun0 46.246.73.74 netmask 255.255.255.224 mtu 1500 broadcast 46.246.73.95
Fri Nov 14 12:42:05 2014 /sbin/ifconfig tun0 inet6 add 2a00:1a28:1164:a::1008/64
SIOCSIFADDR: Permission denied
Fri Nov 14 12:42:05 2014 Linux ifconfig inet6 failed: external program exited with error status: 1
Fri Nov 14 12:42:05 2014 Exiting
Alles anzeigen
It seems to be failing on an ifconfig command. I don't understand why I'm getting "SIOCSIFADDR: Permission denied" when executing the command as root.
Any ideas?