[solved] Install openvpn from source which settings ?

New to Debian (Or Linux in general)? Ask your questions here!

[solved] Install openvpn from source which settings ?

Postby moejoe » 2018-02-14 22:10

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.
moejoe
 
Posts: 11
Joined: 2018-02-14 21:38

Re: Iinstall openvpn from source which settings ?

Postby Bulkley » 2018-02-14 22:17

moejoe wrote:Does anyone know the default settings ?


That would depend upon which VPN supplier you are dealing with. Have you asked it?
Bulkley
 
Posts: 5660
Joined: 2006-02-11 18:35

Re: Install openvpn from source which settings ?

Postby moejoe » 2018-02-15 18:29

@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
moejoe
 
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

Postby dilberts_left_nut » 2018-02-15 18:42

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
dilberts_left_nut
 
Posts: 4911
Joined: 2009-10-05 07:54
Location: enzed

Re: Install openvpn from source which settings ?

Postby GarryRicketson » 2018-02-15 18:58

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-source/documentation/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.
User avatar
GarryRicketson
 
Posts: 5187
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Install openvpn from source which settings ?

Postby moejoe » 2018-02-15 22:20

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
moejoe
 
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

Postby stevepusser » 2018-02-15 22:38

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, tlp-ui, wine-staging 3.21, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10250
Joined: 2009-10-06 05:53

Re: Install openvpn from source which settings ?

Postby moejoe » 2018-02-15 23:21

@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
moejoe
 
Posts: 11
Joined: 2018-02-14 21:38

Re: Install openvpn from source which settings ?

Postby stevepusser » 2018-02-16 00:13

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, tlp-ui, wine-staging 3.21, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10250
Joined: 2009-10-06 05:53

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

Postby Thorny » 2018-02-16 00:45

[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
Thorny
 
Posts: 542
Joined: 2011-02-27 13:40

Re: Install openvpn from source which settings ?

Postby stevepusser » 2018-02-16 03:05

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, tlp-ui, wine-staging 3.21, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10250
Joined: 2009-10-06 05:53

Re: Install openvpn from source which settings ?

Postby debiman » 2018-02-16 05:49

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.
User avatar
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

Re: Install openvpn from source which settings ?

Postby moejoe » 2018-02-16 08:03

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 ?

Postby moejoe » 2018-02-17 17:53

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
moejoe
 
Posts: 11
Joined: 2018-02-14 21:38


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable