Koozali.org: home of the SME Server

smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x

Offline girimia

  • **
  • 22
  • +0/-0
Hello,

I have installed openvpn in bridge mode on SME Server 9.1 x64, and it works perfectly.
For iOS Iphone I want to install OpenVPN in routed mode, but I get the following error:

smeserver-yum install openvpn-routed --enablerepo = fws, smecontribs
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading Speeds mirror cached from hostfile
 * Base: mirrors.pidginhost.com
 * Smeaddons: www.mirrorservice.org
 * Smecontribs: www.mirrorservice.org
 * Smeextras: www.mirrorservice.org
 * Smeos: www.mirrorservice.org
 * Smeupdates: www.mirrorservice.org
 * Updates: mirrors.pidginhost.com
base | 3.7 kB 0:00
smeaddons | 2.9 kB 0:00
smecontribs | 2.9 kB 0:00
smeextras | 2.9 kB 0:00
smeos | 3.1 kB 0:00
smeupdates | 2.9 kB 0:00
updates | 3.4 kB 0:00
No package smeserver-openvpn-routed available.
Error: Nothing to do

Where can I get smeserver-openvpn-routed?

Thank you!

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #1 on: October 25, 2016, 02:43:59 PM »
Please, type the exacte command you used (it was most likely not smeserver-yum install etc... but rather yum install). also, based on the output of your yum commands, it looks like fws repo was not in the enabled list. The command should be

Code: [Select]
yum --enablerepo=fws,smecontribs install smeserver-openvpn-routed
C'est la fin du monde !!! :lol:

Offline girimia

  • **
  • 22
  • +0/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #2 on: October 25, 2016, 07:33:13 PM »
Hello,

I run the command, but I got the same result:

[root@serv1 ~]# yum --enablerepo=fws,smecontribs install smeserver-openvpn-routed                                                                               
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.pidginhost.com
 * smeaddons: www.mirrorservice.org
 * smecontribs: www.mirrorservice.org
 * smeextras: www.mirrorservice.org
 * smeos: www.mirrorservice.org
 * smeupdates: www.mirrorservice.org
 * updates: mirrors.pidginhost.com
base                                                     | 3.7 kB     00:00
smeaddons                                                | 2.9 kB     00:00
smecontribs                                              | 2.9 kB     00:00
smeextras                                                | 2.9 kB     00:00
smeos                                                    | 3.1 kB     00:00
smeupdates                                               | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
No package smeserver-openvpn-routed available.
Error: Nothing to do




Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #3 on: October 25, 2016, 07:37:20 PM »
fws is still not listed in the repo being checked. Can you show

Code: [Select]
db yum_repositories show fws
C'est la fin du monde !!! :lol:

Offline girimia

  • **
  • 22
  • +0/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #4 on: October 25, 2016, 08:49:41 PM »
Hello,

The comand "db yum_repositories show fws" does not show any.

[root@serv1 ~]# db yum_repositories show fws
[root@serv1 ~]# yum --enablerepo=fws,smecontribs install smeserver-openvpn-routed
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.pidginhost.com
 * smeaddons: www.mirrorservice.org
 * smecontribs: www.mirrorservice.org
 * smeextras: www.mirrorservice.org
 * smeos: www.mirrorservice.org
 * smeupdates: www.mirrorservice.org
 * updates: mirrors.pidginhost.com
No package smeserver-openvpn-routed available.
Error: Nothing to do

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #5 on: October 25, 2016, 09:26:31 PM »
You need to configure fws repo, see https://wiki.contribs.org/Fws
C'est la fin du monde !!! :lol:

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #6 on: October 26, 2016, 12:26:19 AM »
.... and the rpm is there in fws repo
See
http://repo.firewall-services.com/centos/6/noarch/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline girimia

  • **
  • 22
  • +0/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #7 on: October 26, 2016, 03:48:57 PM »
Hello,

Thanks so much for your support!
Openvpn in bridge mode works.
But openvpn routed mode from iOS returns the error: tun_builder_error: ifconfig addresses are not in the same /30 subnet.
Can you give me some advice?

Thank you!

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #8 on: October 26, 2016, 04:45:40 PM »
Long time I haven't configured an iOS device to connect with a VPN, and I don't have one currently. Unfortunately, I can't help further
C'est la fin du monde !!! :lol:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #9 on: October 26, 2016, 05:38:00 PM »
searching with google for "tun_builder_error: ifconfig addresses are not in the same /30 subnet" gave me plenty of results, all openvpn related..

@girimia, please check if you find any reason for the issue and report back, maybe there are some parameters to change (and in this case maybe Daniel can help you)

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #10 on: October 28, 2016, 02:00:35 AM »
I have routed running on some iphones and a itablet thing.

What configs do you have ? Can compare to mine (they use the openvpn client)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline girimia

  • **
  • 22
  • +0/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #11 on: November 09, 2016, 10:01:59 AM »
Hello,

I managed to run OpenVPN in routed mode.
PKCS12 and ca.crt certificates must be installed on the iPhone (installation is done by sending them by email).
It uses authentication: auth-user-pass.

Thank you for your support!

dev tun
nobind
# Uncomment the following line if your system
# support passtos (not supported on Windows)
passtos
remote xxx.xxx.xxx.xxx 1195

tls-client
ns-cert-type server
auth-user-pass

# Replace user.p12 with the certificate
# bundle in PKCS12 format
pkcs12 mcert.p12

# You can replace the pkcs12
# directive with the old ones
#ca cacert.pem
#cert user.pem
#key user-key.pem

mtu-test
comp-lzo
pull

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: smeserver-openvpn-routed package is unavailable on smeserver 9.1 64x
« Reply #12 on: November 10, 2016, 11:12:39 AM »
thank you.. it should be in the wiki.. would you mind to create an account and add it?