How I can set up openVPN?
OpenVPN
Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen
-
-
Try the Boardsearch. It will find some threads regarding openvpn.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
I did it, and on others forums too.But I dont find right answer.
-
In easy words. There is no image with build in OpenVPN Support until now.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
and dreamelite?Dream Elite Panels features
1) Blue Panel
Setup
Black Hole Cron Manager
OSD Settings
Devices Manager
Kernel Modules Manager
Fast Plugin Settings
Inadyn Settings
Swap File Settings
Hard Disk Setup
Dream Elite Mount Wizard
OpenVPN Panel
Samba/Cifs Panel
NFS Server Panel
Telnet Panel
FTP Panel -
Oh, sorry... i missed that they have implemented it !
Maybe there should be some config files in /etc or in /var/etc if you cannot configure it via the openvpn panel.
This command
/var/sbin/openvpn --genkey --secret /var/etc/openvpn/keys/xxxx.key
is necessary to create the keys.
And here is a hwoto LINK for openvpn. For sure you can skip install part and start over to configuration section.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
and it will not work in OpenPli Image?I installed openvpn.ipk
keys I already Have from my old box in /var/etc/openvpn/keys
for what is the Command what you post it?how I can do it?Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von kurkombajn ()
-
not sure if it works in other images. I think openvpn uses tap or tun device. Maybe all necessarry parts are in ipk. Think yu will need to test it.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
I put to telnet
insmod /lib/modules/2.6.18-7.3/kernel/drivers/net/tun.ko
insmod
BusyBox v1.13.2 (2010-05-28 21:44:02 CEST) multi-call binary
Usage: insmod MODULE [symbol=value]...
Load the specified kernel modules into the kernel
/var/sbin/openvpn --genkey --secret /var/etc/openvpn/keys/xxxx.ke
y
-sh: /var/sbin/openvpn: not found -
check with
lsmod
if kernel module is loaded.
with
find / -name "openvpn"
you can find the correct location of the openvpn binary.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
/var/sbin/openvpn --genkey --secret /var/etc/openvpn/keys/ is wrong way
/usr/sbin/openvpn --genkey --secret /var/etc/openvpn/keys/ is right
but I have alredy key from old ipbox or I have to rename and change it?Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von kurkombajn ()
-
YOu can copy your key from the old box.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
vuduo login: root
root@vuduo ~ # find / -name "openvpn"
/etc/init.d/openvpn
/etc/openvpn
/usr/sbin/openvpn
root@vuduo ~ # ismod
-sh: ismod: not found
root@vuduo ~ # -
not i it is l (small L)
lsmodPustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
root@vuduo ~ # lsmod
Tainted: P
tun 10496 0 - Live 0xc06c1000
isofs 28240 0 - Live 0xc0643000
cdfs 30496 0 - Live 0xc064d000
ntfs 294176 0 - Live 0xc0673000
cifs 279056 0 - Live 0xc06d2000
usb_storage 79024 0 - Live 0xc065e000
sata_svw 17616 0 - Live 0xc063d000
brcmfb 3984 2 - Live 0xc0074000
dvb_bcm7335 5370224 27 brcmfb, Live 0xc0736000
dvb_core 99920 1 dvb_bcm7335, Live 0xc010e000
fb 36640 5 brcmfb, Live 0xc00be000
procmk 2304 0 - Live 0xc0076000
snd_pcm 74528 1 dvb_bcm7335, Live 0xc00d8000
snd_timer 24080 1 snd_pcm, Live 0xc00b7000
snd_page_alloc 8912 1 snd_pcm, Live 0xc0094000
snd 53424 3 dvb_bcm7335,snd_pcm,snd_timer, Live 0xc00a8000
soundcore 9488 1 snd, Live 0xc008a000
firmware_class 10304 0 - Live 0xc0086000
i2c_core 19552 0 - Live 0xc008e000
evdev 9536 1 - Live 0xc0079000
input 24688 4 dvb_bcm7335,evdev, Live 0xc007e000 -
That looks well:
tun 10496 0 - Live 0xc06c1000
Tun Drivers are loaded.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
I dont have dev/net/tun
root@vuduo ~ # openvpn --config /etc/openvpn/client.conf &
root@vuduo ~ # Tue Aug 3 07:40:41 2010 OpenVPN 2.0.2 mipsel-linux [SSL] [LZO] [EPOLL] built on May 21 2010
Tue Aug 3 07:40:41 2010 WARNING: No server certificate verification method has been enabled. See openvpn.net/howto.html#mitm for more info.
Tue Aug 3 07:40:41 2010 Control Channel MTU parms [ L:1575 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue Aug 3 07:40:41 2010 Data Channel MTU parms [ L:1575 D:1450 EF:43 EB:4 ET:32 EL:0 ]
Tue Aug 3 07:40:41 2010 Local Options hash (VER=V4): '10f35004'
Tue Aug 3 07:40:41 2010 Expected Remote Options hash (VER=V4): 'a917298a'
Tue Aug 3 07:40:41 2010 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Tue Aug 3 07:40:41 2010 Attempting to establish TCP connection with xx.xx.xx.xx:1195
Tue Aug 3 07:40:41 2010 TCP connection established with 213.xxx.xx.xx:1195
Tue Aug 3 07:40:41 2010 TCPv4_CLIENT link local: [undef]
Tue Aug 3 07:40:41 2010 TCPv4_CLIENT link remote: 213.xx.xx.xx:1195
Tue Aug 3 07:40:41 2010 TLS: Initial packet from 213.xx.xx.xx:1195, sid=e28c97d5 9d50250c
Tue Aug 3 07:40:42 2010 VERIFY OK: depth=0, /C=CZ/ST=xx/L=x/O=x/CN=server/emailAddress=xx
Tue Aug 3 07:40:44 2010 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Aug 3 07:40:44 2010 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 3 07:40:44 2010 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Aug 3 07:40:44 2010 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 3 07:40:44 2010 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Aug 3 07:40:44 2010 [server] Peer Connection Initiated with 213.xx.xx.xx:1195
Tue Aug 3 07:40:45 2010 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Aug 3 07:40:45 2010 PUSH: Received control message: 'PUSH_REPLY,route 1xx.xx.xx.xx 255.255.255.252 xxx.xx.xx.xx,ping 10,ping-restart 30,ifconfig 17x.xx.xx 255.255.255.0'
Tue Aug 3 07:40:45 2010 OPTIONS IMPORT: timers and/or timeouts modified
Tue Aug 3 07:40:45 2010 OPTIONS IMPORT: --ifconfig/up options modified
Tue Aug 3 07:40:45 2010 OPTIONS IMPORT: route options modified
Tue Aug 3 07:40:45 2010 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Tue Aug 3 07:40:45 2010 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Tue Aug 3 07:40:45 2010 Cannot allocate TUN/TAP dev dynamically
Tue Aug 3 07:40:45 2010 Exiting -
This command
/bin/mknod /dev/net/tun c 10 200
should create the devicePustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS
-
root@vuduo ~ # /bin/mknod /dev/net/tun c 10 200
mknod: /dev/net/tun: No such file or directory -
try
mkdir /dev/net
before.Pustekuchen ist keine Blume.
Vu+ DUO - 500GB HDD (Samsung EcoGreen F2) - Vu+ DUO - 500GB HDD (Samsung EcoGreen F3)
Vu+ SOLO - 500GB HDD (WD Mybook Essential 2,5") - Samsung USB DVD Brenner
DM800 - Abcom IPBox 910 - Opticum HD TS 9600
Zotac Mag Mini als Medialplayer - Buffalo Drive Station Pro als NAS