Obsolete Releases > SME 8.x Contribs

OpenVPN

(1/9) > >>

smnirosh:
Today i reconfigured my sme server. I answered all the questions as correct i believe. And once it asks for a "DNS address when no internet", I gave no IP address to that last question of the configuration steps.

After reconfiguration the internet is lost. then I changed the RJ 45 cables connected to 2 ports on the server. then internet works. And I manually add NAMESERVER 8.8.8.8 to the resolv.conf file. After all, I tried to connect from home to server via Openvpn it is not connecting. following error msg receiving through openvpn connection window;


Wed Sep 16 21:50:41 2015 OpenVPN 2.3.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jun  8 2015
Wed Sep 16 21:50:41 2015 library versions: OpenSSL 1.0.1m 19 Mar 2015, LZO 2.08
Enter Management Password:
Wed Sep 16 21:50:41 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Wed Sep 16 21:50:41 2015 Need hold release from management interface, waiting...
Wed Sep 16 21:50:41 2015 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Wed Sep 16 21:50:41 2015 MANAGEMENT: CMD 'state on'
Wed Sep 16 21:50:41 2015 MANAGEMENT: CMD 'log all on'
Wed Sep 16 21:50:41 2015 MANAGEMENT: CMD 'hold off'
Wed Sep 16 21:50:41 2015 MANAGEMENT: CMD 'hold release'
Wed Sep 16 21:50:51 2015 MANAGEMENT: CMD 'username "Auth" "s.nirosh"'
Wed Sep 16 21:50:51 2015 MANAGEMENT: CMD 'password [...]'
Wed Sep 16 21:50:51 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Wed Sep 16 21:50:51 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Sep 16 21:50:51 2015 UDPv4 link local (bound): [undef]
Wed Sep 16 21:50:51 2015 UDPv4 link remote: [AF_INET]89.2.7.225:1194
Wed Sep 16 21:50:51 2015 MANAGEMENT: >STATE:1442433051,WAIT,,,
Wed Sep 16 21:51:51 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Sep 16 21:51:51 2015 TLS Error: TLS handshake failed
Wed Sep 16 21:51:51 2015 SIGUSR1[soft,tls-error] received, process restarting
Wed Sep 16 21:51:51 2015 MANAGEMENT: >STATE:1442433111,RECONNECTING,tls-error,,
Wed Sep 16 21:51:51 2015 Restart pause, 2 second(s)
Wed Sep 16 21:51:53 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Wed Sep 16 21:51:53 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Sep 16 21:51:53 2015 UDPv4 link local (bound): [undef]
Wed Sep 16 21:51:53 2015 UDPv4 link remote: [AF_INET]89.2.7.225:1194
Wed Sep 16 21:51:53 2015 MANAGEMENT: >STATE:1442433113,WAIT,,,
Wed Sep 16 21:52:07 2015 SIGTERM received, sending exit notification to peer
Wed Sep 16 21:52:08 2015 SIGTERM[soft,exit-with-notification] received, process exiting
Wed Sep 16 21:52:08 2015 MANAGEMENT: >STATE:1442433128,EXITING,exit-with-notification,,



what do i have do to connect via openvpn.

Daniel B.:
You should first tell us which contrib you have installed, and which client is trying to connect, and how you have configured it.....
As a side note, you should not modify directly your /etc/resolv.conf file. This is managed by the SME Server templates engine, you'd better read some documentation

smnirosh:
Ok. thanks for the advice.
my version of OS is - Linux 2.6.18 371. i686
I have deployed this server as a Gateway and server mode
I am trying to connect from windows 7

do i have to re configure openvpn?
How can i check if my openvpn is configured as bridge mode or as an othermode?

thanks for your quick reply

Daniel B.:

--- Quote from: smnirosh on September 16, 2015, 11:56:15 PM ---do i have to re configure openvpn?
How can i check if my openvpn is configured as bridge mode or as an othermode?

--- End quote ---

There's no builtin OpenVPN server. Which contrib have you installed ?

Stefano:

--- Quote ---"DNS address when no internet"

--- End quote ---

can you explain where did you see such a request and in which language? I don't remember anything similar in SME's console..

Navigation

[0] Message Index

[#] Next page

Go to full version