Koozali.org: home of the SME Server

openvpn on 6.01

onsy

openvpn on 6.01
« Reply #90 on: March 17, 2005, 04:47:38 PM »
Quote from: "stuntshell"
Precisely onsy,
I tried adding the routes manually but it didn't work. When I try to add via the panel it tells me I cannot add them.

Thanks,


What I ment : your IP@ seems strange : how can you have a 192.168.100.xxx when your server.conf should give you a 192.168.1.xxx, according to the conf files you wrote above ?

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
openvpn on 6.01
« Reply #91 on: March 17, 2005, 05:09:02 PM »
That is correct, I actually re-did the server with the same settings and added the 192.168.100.0 network before installing the OpenVpn and everything works as a charm. For some reason that didn't happened the first time, when I installed OVPN and tryed adding a network.

Thanks,[/i]

xebec

Problem!!!!
« Reply #92 on: March 20, 2005, 08:09:16 AM »
Hi all,

well, I followed the how to install openvpn goodie, but I do not get the /etc/openvpn directory????

Following the howto, this directory gets created in order to create keys etc...anyone...some help please????

THanks in advance

GB

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
openvpn on 6.01
« Reply #93 on: March 20, 2005, 01:01:24 PM »
xebec,
Have you tried reinstalling it?

xebec

openvpn on 6.01
« Reply #94 on: March 21, 2005, 02:13:10 AM »
Hi There,

Indeed I have, but now I am getting confused 'cause the howto mentiones some files, but if you got to the ftp site where those files are located, there are other versions as well...which ones are the ones to download???

Thanks for the help

regards

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
openvpn on 6.01
« Reply #95 on: March 21, 2005, 02:24:30 AM »
This is the How-to you should be using:
http://sme.swerts-knudsen.dk/howtos/howto_30.htm

xebec

openvpn on 6.01
« Reply #96 on: March 21, 2005, 05:38:00 AM »
HI,

yes, that's the one I am using.  WHen I tryu to change to /etc/openvpn, it tells me that there is no such directory.  I have used find / -name openvpn -print, as well as the file vars, but there is nothing on the system!!!

I have re-installed openvpn, but to no avail..

regards

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
openvpn on 6.01
« Reply #97 on: March 21, 2005, 12:58:52 PM »
xebec,
Are you following this How-To step by step?
Quote
rpm -q openvpn

or
Quote
which openvpn

should tell if the RPM is installed.
This last line on the first block is the installation process:
Code: [Select]
[root@sme openvpn]# rpm -Uvh *.rpm

If you doing it, then I don't know what could be wrong! :-?

xebec

openvpn on 6.01
« Reply #98 on: March 22, 2005, 06:04:44 AM »
Hi there,

OK it tells me now that the perl-DateManip* is already installed and that it is needed by sme antivirus.  When I query rpm -q it tells me that openvpn is not installed.  Now, I cannot remove perl-DateManip because of its dependencies....Any ideas??


THanks again and regards

GB

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
openvpn on 6.01
« Reply #99 on: March 22, 2005, 06:35:12 AM »
Don't remove that package, follow the how-to bypassing the perl-DateManip and you should do fine.

xebec

openvpn on 6.01
« Reply #100 on: March 22, 2005, 07:17:03 AM »
stuntshell,

thanks a million for the reply,  sorry to be a pest, but where is that how-to located??  I tried on the swerts-knudsen site, but no joy

thanks again for all the help and patience

GB

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
openvpn on 6.01
« Reply #101 on: March 22, 2005, 01:37:59 PM »

gavincowie


Offline dmajwool

  • *****
  • 180
  • +0/-0
Jesper's openvpn on 6.5rc1
« Reply #103 on: March 25, 2005, 06:27:57 PM »
Hi.

I've been around the loop a few times with Jesper's howto without success on SME 6.5.rc1. Everything seems just about OK, but when I try to connect, I keep getting bounced back to the login dialog.
Code: [Select]
Fri Mar 25 17:22:28 2005 us=750933 [Server] Peer Connection Initiated with 217.207.xxx.xxx:1194
Fri Mar 25 17:22:29 2005 us=958141 SENT CONTROL [Server]: 'PUSH_REQUEST' (status=1)
Fri Mar 25 17:22:29 2005 us=997708 NOTE: Beginning empirical MTU test -- results should be available in 3 to 4 minutes.
Fri Mar 25 17:22:30 2005 us=883 AUTH: Received AUTH_FAILED control message
Fri Mar 25 17:22:30 2005 us=1439 TCP/UDP: Closing socket
Fri Mar 25 17:22:30 2005 us=1542 SIGTERM[soft,auth-failure] received, process exiting
Fri Mar 25 17:22:29 2005 us=83772 Current Parameter Settings:
Fri Mar 25 17:22:29 2005 us=83833   config = 'VPN.ovpn'
Fri Mar 25 17:22:29 2005 us=83845   mode = 0
Fri Mar 25 17:22:29 2005 us=83857   show_ciphers = DISABLED


 So, a few questions, please:

Quote
(from the HowTo) ..the tunneled VPN network will be 192.168.100.0/24.

Does the client machine(s) actually need to have an ip in that range in Windows, or is this a virtual concept, handled by the tunnel?

 
Quote
Do not add "A Challenge password" when asked, just press <ENTER>.

Do I need to use the period ".<ENTER>" to keep the field empty, as described on-screen?

Quote
..."C:/Program Files/OpenVPN/config" called VPN.ovpn with the following content and where you change the vpn.yourdomain.com to match your configuration.

Do I need to create a hostname in SME called vpn, or can I replace vpn.domain.com with my SME external ip?

Quote
The Client installation is now complete and the user will be prompted upon login for the username and passwords.

Is this an SME username & password, or is this an openvpn user/password?  

Do I need to enable the SME user accounts with the allow VPN drop-down?

Where can I look to fix the SIOCDELRT: no such process  error?  Perhaps it is not fatal because service openvpn does start with an [OK]

Many thanks, David

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
openvpn on 6.01
« Reply #104 on: March 26, 2005, 06:09:06 PM »
1- handled by the tunnel which is handled by the server.conf and openvpn.up
2- yes, use .
3- no, use existing hostname (if that's registered or IP)
4- Yes, SME username, no need to give user VPN access on Panel.
5- SIOCDELRT: no such process error = means configuration errors, look at the files on answer 1.