Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: girimia on October 25, 2016, 01:20:17 PM
-
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!
-
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
yum --enablerepo=fws,smecontribs install smeserver-openvpn-routed
-
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
-
fws is still not listed in the repo being checked. Can you show
db yum_repositories show fws
-
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
-
You need to configure fws repo, see https://wiki.contribs.org/Fws
-
.... and the rpm is there in fws repo
See
http://repo.firewall-services.com/centos/6/noarch/
-
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!
-
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
-
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)
-
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)
-
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
-
thank you.. it should be in the wiki.. would you mind to create an account and add it?