Page 1 of 1

Softether VPN two virtual hubs and OpenVPN Client

Posted: Fri Sep 11, 2015 10:21 am
by alftech
I have installed softether vpn server latest build
First Virtual Hub [VPN] , Enabled secure NAT ( user1, user2 ..... ) it works fine with openvpn client
Second Virtual Hub [VPN1] , just VPN no Secure NAT ( user3 ), I want this hub to be isolated lan just for VPN clients.

when I try to connect as user3, Open VPN client return bad username or password, it still try to check name and password from first virtual hub.

it is a possible to make two virtual hubs for openvpn clients just name split to Virtual hub or not?

Thanks for answer

Re: Softether VPN two virtual hubs and OpenVPN Client

Posted: Thu Sep 24, 2015 5:57 am
by thisjun
Please specify a virtual hub name after @.
ID: usename @virtual hubname

Re: Softether VPN two virtual hubs and OpenVPN Client

Posted: Thu Sep 24, 2015 7:35 am
by alftech
Hi,

Testing results from openvpn Client

user1@VPN > connect > OK that's is right
user1@VPN1 > can't connect > OK that's right

user3@VPN1 > can't connect > result from openvpn client log

------------------------------------------------------------------------------------------------------------------
Thu Sep 24 09:27:14 2015 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Sep 24 09:27:14 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 24 09:27:14 2015 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Sep 24 09:27:14 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 24 09:27:14 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Thu Sep 24 09:27:14 2015 [vpn125109466.softether.net] Peer Connection Initiated with [AF_INET]x.x.x.x:1194
Thu Sep 24 09:27:15 2015 MANAGEMENT: >STATE:1443079635,GET_CONFIG,,,
Thu Sep 24 09:27:16 2015 SENT CONTROL [vpn125109466.softether.net]: 'PUSH_REQUEST' (status=1)
Thu Sep 24 09:27:21 2015 SENT CONTROL [vpn125109466.softether.net]: 'PUSH_REQUEST' (status=1)
Thu Sep 24 09:27:21 2015 AUTH: Received control message: AUTH_FAILED
Thu Sep 24 09:27:21 2015 SIGUSR1[soft,auth-failure] received, process restarting
Thu Sep 24 09:27:21 2015 MANAGEMENT: >STATE:1443079641,RECONNECTING,auth-failure,,
Thu Sep 24 09:27:21 2015 Restart pause, 2 second(s)
Thu Sep 24 09:27:34 2015 MANAGEMENT: Client disconnected
Thu Sep 24 09:27:34 2015 ERROR: could not read Auth username/password/ok/string from management interface
Thu Sep 24 09:27:34 2015 Exiting due to fatal error
----------------------------------------------------------------------------------------------------------------------

Re: Softether VPN two virtual hubs and OpenVPN Client

Posted: Thu Oct 08, 2015 7:54 am
by thisjun
Could you show the server log?

Re: Softether VPN two virtual hubs and OpenVPN Client

Posted: Fri Oct 09, 2015 6:53 am
by alftech
Hi,

log say DHCP not presented on VPN2 thats my fall.
I have Enabled server Secure NAT in this time and NAT disable. That Works as I need.

Thank for You support.