Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[solved] Install openvpn from source which settings ?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
moejoe
Posts: 11
Joined: 2018-02-14 21:38

[solved] Install openvpn from source which settings ?

#1 Post by moejoe »

Debian wheezy ( raspi-version)
rasberry pi

Hello everybody

I want to install the openvpn package from scratch and i need the same settings which i have to choose as if i use the install method with apt-get.

Does anyone know the default settings ?

best regards moejoe
Last edited by moejoe on 2018-02-21 14:01, edited 2 times in total.

Bulkley
Posts: 6382
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Iinstall openvpn from source which settings ?

#2 Post by Bulkley »

moejoe wrote:Does anyone know the default settings ?
That would depend upon which VPN supplier you are dealing with. Have you asked it?

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

#3 Post by moejoe »

@Bulkley

Thanks for reply

I dont want to preconfigure my system for the vpn supplier.

I just want the default state when i would installing the open-vpn package from the apt Repositories.

The reason is, that i have big problems after the upgrade with the network connection and my dyndns providers.

So i have 2 possibliities:

1. Install from scratch
2. Install from an jessie repository with apt-get.

But i would prefer the first one due to the up to date Version

best regards moejoe

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5343
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Install openvpn from source which settings ?

#4 Post by dilberts_left_nut »

moejoe wrote:So i have 2 possibliities:

1. Install from scratch
2. Install from an jessie repository with apt-get.

But i would prefer the first one due to the up to date Version
No, your best possibility is to learn to configure your VPN/network properly to work how you want (using the available package).
Creating a FrankenRaspberry won't help.
AdrianTM wrote:There's no hacker in my grandma...

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Install openvpn from source which settings ?

#5 Post by GarryRicketson »

2. Install from an jessie repository with apt-get.
But first you said:

Code: Select all

Debian wheezy ( raspi-version)
rasberry pi 
You can not or should not try to use the default settings for Debian Jessie, on a Debian wheezy system.
And then if it "raspi-version", that might not really be the same as what was intended for true Debian 7 (wheezy).

So you really have the one option. Do some searches:
Kewords, copy/paste into favourite search engine:

Code: Select all

How to install openvpn  on Debian wheezy 
https://wiki.debian.org/OpenVPN
===========================
Key words:

Code: Select all

what are the default settings for Openvpn on Debian wheezy 
Lot's of hits, 1 of many : Configure openvpn on a Debian server and client

The so called "default settings" are in the configuration sample files, with the install.
from: https://openvpn.net/index.php/open-sour ... howto.html
Creating configuration files for server and clients
Getting the sample config files

It's best to use the OpenVPN sample configuration files as a starting point for your own configuration. These files can also be found in ---snip-- read it all --
Last edited by GarryRicketson on 2018-02-15 23:05, edited 1 time in total.

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

#6 Post by moejoe »

Thanks all for help

i'll look through the recommended links ( i need only the client function for my raspi.)

I hope i'll able to understand all and what i have to do.
(using the available package)
Doesnt work the packages are too old for wheezy.

best regards moejoe

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Install openvpn from source which settings ?

#7 Post by stevepusser »

I think you mean you find the packages are too old in Wheezy.

There's a newer version in wheezy-backports: https://packages.debian.org/wheezy-backports/openvpn

or you could try to backport the Jessie version yourself. Wheezy is reaching end-of-life soon anyway, so you should start thinking about upgrading.
MX Linux packager and developer

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

#8 Post by moejoe »

@stevepusser

Afaik the backport doesnt support armf7 architecture which should only used if u have an ras.

And for the ras itself i havent found any backports.
So then comes the idea in my mind to get newer ovpn package over the jessie rep

Yes the upgrade ..

Thats what i did already a few times but when i made an upgrade everthing seems fine but i wasnt able to use to update my dyndns address which is only an python www call in an crontab.

I searched in the network settings and checked if any iptables rule blocks sth. But that wasnt the case. Then ive installed ddclient ansd set it up properly but this doesnt solve the problem also.

So i decided to make an rollback and get back to wheezy and going to try to install an newer openvpn version first.
If this wont work i'll get back to the upgrade one.

But in the future i want to figure out the main problem that im able to Update

Best regards moejoe

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Install openvpn from source which settings ?

#9 Post by stevepusser »

I believe the architecture is the current Pi is armhf, if you go by this guide: https://wiki.debian.org/RaspberryPi

Debian does not have a "armf7" architecture at all.
MX Linux packager and developer

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

[OT]Re: Install openvpn from source which settings ?

#10 Post by Thorny »

[OT]
@Steve, one can't count on backports for oldoldstable being maintained, most of the maintainers did not want to have to support oldoldstable backports, it was discussed on the list but you might not have seen it if you only read it when you offer some work you have done. IIRC, there won't be backport repositories for oldoldstable in the future
Of course you are correct about Wheezy itself, only supported until the end of May.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Install openvpn from source which settings ?

#11 Post by stevepusser »

Well in that case, one could backport those themselves. I used to have some armhf QEMU pbuilder setups working on my laptop, but I can't seem to create those now on a Stretch install.
Last edited by stevepusser on 2018-02-16 20:10, edited 1 time in total.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Install openvpn from source which settings ?

#12 Post by debiman »

stevepusser wrote:Wheezy is reaching end-of-life soon anyway, so you should start thinking about upgrading.
this is the real issue here.
you MUST do this on a machine that faces the internet!
once this is done, there's most probably no more need to compile openvpn from scratch.

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

#13 Post by moejoe »

once this is done, there's most probably no more need to compile openvpn from scratch.
except i need an feature for the future versions .. thats the reason why i need an futher one and may i need a newer one as jessie provides thats the reason to think about "from scratch"

but youre right

i should try to solve the problem and get down to the root of trouble and solve the dyndns issue when the system i'll be updated.

due to the backport

here is an dissussion about that in the ras forum:
https://www.raspberrypi.org/forums/view ... 6&p=693226

best regards moejoe

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

#14 Post by moejoe »

Update:

I tried some install methods based on wheezy:

1. Install from debian backports
2. Install from raspi Jessie Repository

The following error occours during the openvpn execution :

Code: Select all

RTNETLINK answers: Operation not supported
in some discussions on the net it points out that some kernel dependencies missing could be the reason for.

So for me.... thats enough. I've installed debian stretch completely new and after a few hours everything works.


Thanks all for helping and guidance me

Great froum and awsome helpfulness here

best regards moejoe

Post Reply