Jump to content


Photo

DM500 - OpenVPN

DM500

  • Please log in to reply
100 replies to this topic

Re: DM500 - OpenVPN #81 hus52

  • Member
  • 21 posts

0
Neutral

Posted 17 October 2010 - 13:22

ok so i now have a working tunnel to my DM500 :)

Few problems

1. I have to start it manually with /var/bin/openvpn --config /var/etc/openvpn/prq.conf - How do I get to run on startup?
2. It doesnt seem to be working with the openvpn ppanel? even when its running n working the ppanel says its stopped.

Re: DM500 - OpenVPN #82 xener

  • Senior Member
  • 264 posts

0
Neutral

Posted 17 October 2010 - 14:50

add it to startup script.

Re: DM500 - OpenVPN #83 fantomduck

  • Member
  • 5 posts

0
Neutral

Posted 6 November 2010 - 12:30

it looks like there is a time problem with openvpn. when on a reboot the box doesn't have the time to sync it's time from the transponder the openvpn starts with a date of 1970's!!!! is there any command to sync to a channel before it starts the deamon so that it will have it's time synced?


E.D

Re: DM500 - OpenVPN #84 xener

  • Senior Member
  • 264 posts

0
Neutral

Posted 6 November 2010 - 13:13

use ntpdate before openvpn.

Re: DM500 - OpenVPN #85 fantomduck

  • Member
  • 5 posts

0
Neutral

Posted 6 November 2010 - 15:36

do you know where i can find it?
i found a version but it is not executed correctly.

E.D

Re: DM500 - OpenVPN #86 fantomduck

  • Member
  • 5 posts

0
Neutral

Posted 10 November 2010 - 14:59

Hi,

Has anybody of you any idea how can i install the ntpdate or other ntp software on the DM500? The openvpn server keeps getting the 1970's date and it won't take the real date and clients won't go up.

If there is also any option to delay the start of the openvpn_script.sh with a delay so that the system will have the time to get the date from the transponder before the start of the openvpn deamon it would be a middle solution.


E.D

Re: DM500 - OpenVPN #87 Joswet

  • Member
  • 1 posts

0
Neutral

Posted 13 November 2010 - 02:58

I have searched everywhere on here for this vpn build. Can someone please please point me in the right direction.

Re: DM500 - OpenVPN #88 totaltv

  • Member
  • 23 posts

0
Neutral

Posted 1 April 2011 - 11:29

Hello, I have installed openvpn to my dm500 and I have a problem with config.
on server i have this

# openvpn config for server p2p
# serverp2p.conf
port 1194
proto tcp-server
ifconfig 10.8.55.1 10.8.55.2
verb 5
dev tun
secret /var/etc/openvpn/keys/prova.key
log /var/etc/openvpn/openvpn.log

so how it looks like on client ?

Re: DM500 - OpenVPN #89 totaltv

  • Member
  • 23 posts

0
Neutral

Posted 4 April 2011 - 13:40

renew

Re: DM500 - OpenVPN #90 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 4 April 2011 - 13:41

?

please use our standards fonts!
there is no need to SHOUT

on the Glassfibre 1GB DVB-C...


Re: DM500 - OpenVPN #91 totaltv

  • Member
  • 23 posts

0
Neutral

Posted 6 April 2011 - 22:08

of course :)

Re: DM500 - OpenVPN #92 roland.peterson

  • Member
  • 1 posts

0
Neutral

Posted 14 April 2011 - 14:36

Big thanks to all the guys who put so much effort into this. Works like a charm!

And I have 740 kB free on my Openpli-maxvar install. This includes CCcam installed.

Re: DM500 - OpenVPN #93 santosh43

  • Member
  • 1 posts

0
Neutral

Posted 14 July 2012 - 10:02

from where I can download this image which include openvpn and cccam, can you please direct me to the instructions to insall this.

Thx

Re: DM500 - OpenVPN #94 lagioarxid

  • Member
  • 1 posts

0
Neutral

Posted 16 March 2013 - 23:20

Hi everyone. First of all thanks to the team for the great images. I have installed the latest openpli for dm500 maxvar and, everything works perfectly. I have tried many...many hours trying to figure a way to install openvpn on my dm500s , for a while i got a connection, but tried many things many times and so i ended up reflashing the image so everything is clean for a good install. I would like to ask if there is any guide or anyone can help with a guide on where to find and which correct openvpn package to install, and also how to create/install a startup script that firstly will sync time and then run openvpn.


Thank you for any reply.

Edited by lagioarxid, 16 March 2013 - 23:24.


Re: DM500 - OpenVPN #95 nabilosat

  • Member
  • 24 posts

0
Neutral

Posted 29 August 2013 - 17:08

can you help me where can I download the file openvpn01_nab.tgz? thanks



Re: DM500 - OpenVPN #96 qnopli

  • Member
  • 17 posts

0
Neutral

Posted 24 November 2013 - 00:55

Hello,

 

recently I came across this thread as I was also searching for an dreambox 500 openvpn solution. I was trying the offered openvpn.tar.gz package from page 3 and it just worked out of box. But like others here already mentioned it lacks support for comp-lzo. So I tried to build openvpn with the OpenPLI-CDK by myself and after 2 days getting into the CDK build Environment (not enough documentation) I finally made it. My original goal was to put it directly into the dm500-maxvar-image, but image creation process failed due size restriction of image. So I've put the openvpn binary on the dm500 box and replaced the other version in /var/bin --- and surprise: IT WORKED!

 

This is the output of the "old" version with comp-lzo enabled in config file:

root@dm500 /var/etc/openvpn # /var/bin/openvpn.orig  --config client.conf 
Options error: Unrecognized option or missing parameter(s) in client.conf:118: comp-lzo (2.0.9)
Use --help for more information.

And now the new one:

root@dm500 /var/etc/openvpn # /var/bin/openvpn  --config client.conf      
Sat Nov 23 23:23:23 2013 OpenVPN 2.2.2 powerpc-tuxbox-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Nov 23 2013
Sat Nov 23 23:23:23 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Nov 23 23:23:23 2013 LZO compression initialized

...

 

So I've put this into the original tar.gz and here you can download this version: Attached File  openvpn-lzo.tar.gz   511.23KB   115 downloads

 

Details:

  • lzo-2.06
  • openvpn-2.2.2 (client only)

And for the curious - excerpt from Makefile.am:

 

  .liblzo: .bootstrap @DEPENDS_liblzo@
        @PREPARE_liblzo@
        cd @DIR_liblzo@ && \
                $(BUILDENV) \
                ./configure \
                        --build=$(build) \
                        --host=$(target) \
                        --target=$(target) \
                        --prefix=$(targetprefix) \
                        --disable-shared \
                $(MAKE) all && \
                @INSTALL_liblzo@
        @CLEANUP_liblzo@
        touch $@


.openvpn: .bootstrap .liblzo .libcrypto @DEPENDS_openvpn@
        @PREPARE_openvpn@
        cd @DIR_openvpn@ && \
                $(BUILDENV) \
                ./configure \
                        --build=$(build) \
                        --host=$(target) \
                        --prefix=$(targetprefix) \
                        --enable-lzo \
                        --disable-server \
                        --enable-small \
                        --disable-http \
                        --disable-debug \
                        --with-ssl-headers=$(targetprefix)/include \
                        --with-ssl-lib=$(targetprefix)/lib \
                        --with-lzo-headers=$(targetprefix)/include \
                        --with-lzo-lib=$(targetprefix)/lib \
                $(MAKE) all && \
                @INSTALL_openvpn@
                $(target)-strip --strip-all $(targetprefix)/sbin/openvpn
        @CLEANUP_openvpn@
        touch $@

 

I hope it will be usefull for someone else.

 



Re: DM500 - OpenVPN #97 Becache

  • Member
  • 3 posts

0
Neutral

Posted 25 April 2014 - 15:24

Hello,

 

recently I came across this thread as I was also searching for an dreambox 500 openvpn solution. I was trying the offered openvpn.tar.gz package from page 3 and it just worked out of box. But like others here already mentioned it lacks support for comp-lzo. So I tried to build openvpn with the OpenPLI-CDK by myself and after 2 days getting into the CDK build Environment (not enough documentation) I finally made it. My original goal was to put it directly into the dm500-maxvar-image, but image creation process failed due size restriction of image. So I've put the openvpn binary on the dm500 box and replaced the other version in /var/bin --- and surprise: IT WORKED!

 

This is the output of the "old" version with comp-lzo enabled in config file:

root@dm500 /var/etc/openvpn # /var/bin/openvpn.orig  --config client.conf 
Options error: Unrecognized option or missing parameter(s) in client.conf:118: comp-lzo (2.0.9)
Use --help for more information.

And now the new one:

root@dm500 /var/etc/openvpn # /var/bin/openvpn  --config client.conf      
Sat Nov 23 23:23:23 2013 OpenVPN 2.2.2 powerpc-tuxbox-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Nov 23 2013
Sat Nov 23 23:23:23 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Nov 23 23:23:23 2013 LZO compression initialized

...

 

So I've put this into the original tar.gz and here you can download this version: attachicon.gifopenvpn-lzo.tar.gz

 

Details:

  • lzo-2.06

  • openvpn-2.2.2 (client only)

And for the curious - excerpt from Makefile.am:

 

  .liblzo: .bootstrap @DEPENDS_liblzo@
        @PREPARE_liblzo@
        cd @DIR_liblzo@ && \
                $(BUILDENV) \
                ./configure \
                        --build=$(build) \
                        --host=$(target) \
                        --target=$(target) \
                        --prefix=$(targetprefix) \
                        --disable-shared \
                $(MAKE) all && \
                @INSTALL_liblzo@
        @CLEANUP_liblzo@
        touch $@


.openvpn: .bootstrap .liblzo .libcrypto @DEPENDS_openvpn@
        @PREPARE_openvpn@
        cd @DIR_openvpn@ && \
                $(BUILDENV) \
                ./configure \
                        --build=$(build) \
                        --host=$(target) \
                        --prefix=$(targetprefix) \
                        --enable-lzo \
                        --disable-server \
                        --enable-small \
                        --disable-http \
                        --disable-debug \
                        --with-ssl-headers=$(targetprefix)/include \
                        --with-ssl-lib=$(targetprefix)/lib \
                        --with-lzo-headers=$(targetprefix)/include \
                        --with-lzo-lib=$(targetprefix)/lib \
                $(MAKE) all && \
                @INSTALL_openvpn@
                $(target)-strip --strip-all $(targetprefix)/sbin/openvpn
        @CLEANUP_openvpn@
        touch $@

 

I hope it will be usefull for someone else.

Thank you !



Re: DM500 - OpenVPN #98 snam11

  • New Member
  • 2 posts

0
Neutral

Posted 23 September 2019 - 13:00

i know is an old post, but can some1 compile an updated version of openvpn?

all free (and payed) vpn providers needs sha256/512 encription in config, and with latest binary (2.2.2) compiled by qnopli is not supported...

if no binary can be updated, some1 knows a workaround to fix the sha256?

thanx



Re: DM500 - OpenVPN #99 WanWizard

  • PLi® Core member
  • 70,492 posts

+1,810
Excellent

Posted 23 September 2019 - 13:18

Not for a DM500, we don't have an active build environment for cdk images anymore.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: DM500 - OpenVPN #100 snam11

  • New Member
  • 2 posts

0
Neutral

Posted 23 September 2019 - 16:17

so basically i can run openvpn but i can't use it no more due to sha....

to bad for the glorious dm500, i was trying to keep on using it as a home server, but i guess i can't do it no more

 

p.s. out of curiosity, which is latest available openvpn version for enigma1?


Edited by snam11, 23 September 2019 - 16:18.




Also tagged with one or more of these keywords: DM500

3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users