Jump to content

OpenVPN client


RobyOneKenoby
 Share

Recommended Posts

Hello,

 

I have configured openVPN server on my VPS machine and all works great also locally I can ping on my 10.0.8.x class IP also I tested the client version generated by OpenVPN to my mac and works perfectly but when Ii include into HybridVPN  using hidemyadd configuration advanced and copy the configuration and then enable vpn it says failed without produce any error logs can somebody help me in this ? 

I put the configuration below but I change private key and Ip's just for security reason 

client
dev tun
proto udp
remote 191.138.24.37 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
block-outside-dns
verb 3
<ca>
-----BEGIN CERTIFICATE-----
MIIDQjCCAiqgAwIBAgIUIwzxRS95TNzUM4mONKDvWTWZD5cwDQYJKoZIhvcNAQEL
BQAwEzERMA8GA1UEAwwIQ2hhbmdlTWUwHhcNMjEwNDI2MDkwMDMwWhcNMzEwNDI0
MDkwMDMwWjATMREwDwYDVQQDDAhDaGFuZ2VNZTCCASIwDQYJKoZIhvcNAQEBBQAD
ggEPADCCAQoCggEBAK9lagPpmNNSmTbZVixSyOdBbwaLJfqtQID0RF4t19upOT8L
6vQFBCC3gDVQmtJGZSEN3FUxdUT3nIns8i325ERD7vt24HjMsXBSggXUfbbaieCi
H7JLlTEf5lM/Q3TyRj+yNX2G6TMrrb0S3rYFx8GtSc8YhFApgh18CopAVfmlhEdc
GF1GaRoydrkFuPBzWHO4QHV7fNDRBcZqigCTezOTiMI72HDqw2kFluLDBBZtOMzV
iQWL+nsNtJaKQWJw+ly2ifM2b7m0+b0oONGRjyDy4+QaxWL7yoqdO3PtsD55SHpo
2E4RcPbyUQVk0jX8QQrfrNxxEIM9PN2IgAR2dwMCAwEAAaOBjTCBijAdBgNVHQ4E
FgQUefwVmH+zgEiKVK4ZKoOaV1vw+ZswTgYDVR0jBEcwRYAUefwVmH+zgEiKVK4Z
KoOaV1vw+ZuhF6QVMBMxETAPBgNVBAMMCENoYW5nZU1lghQjDPFFL3lM3NQziY40
oO9ZNZkP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/1KxO3JHB0zKGP9cN0dyJuqsjNCaVqdhQ1Eqg5Uez2NErda
b5o4ibE6tEY/6U0yIBGJYr4=
-----END PRIVATE KEY-----
</key>
<tls-crypt>
-----BEGIN OpenVPN Static key V1-----
b9b7f2ef12158649ce4e90ef1e7dcf7d
913dabccf0c280b38275ef8c9c38479c
20850efede736de0067addd8af884bf6
51cb62a72886a3467d47ae6669fd34c2
424d41b2e380907133b9481489223981
e5594fd5aedf07aa0a129d9b6dd591c0
4b253be1a956f510f251f73076759461
ded53c898d3cb5baf2e6236bbe5e1c58
32481a2a596ccbc75cd28310c5fb37d3
f2120adffe39064803809919fac59a93
9f27499e5ef485c1fc1901f09fc56f8f
bc59fb27deebb0a5f01d7f49eb66058a
90e8cfdfd146f0efe80899ce1281857b
da431ea00b5e14c1f3e3c8ae9a4b35d7
c28019ce009d36ecedeb8b197942ed99
7f61ad49d81e071fba7f51953f0e71be
-----END OpenVPN Static key V1-----
</tls-crypt>
 

Link to comment
Share on other sites

Yes I want to create a tunnel between my DomeOS router and my VPS server where i installed openvpn on ubuntu server so there is no subscription I have to connect with my hardware , using the client (provided to you by mail the one publish have IP modified for security) used on my MAC works like a charms , when I put in the hybridVPN don't even create logs so can you help me in that ?

 

Link to comment
Share on other sites

okay more info I have one pc behind this router if i use that configuration on pc behind this domeOS works perfectly and connect the pc via vpn to my VPS server but the scope is to have ALL my network behind this VPN

 

This means that is not a problem of ports or firewall it is just a problem with configuration and DomeOS router

Link to comment
Share on other sites

OK, that's not a configuration I personally have experience with but I'll do my best to assist! 

As you're using OpenVPN server, you won't be able to use the HMA configuration, you'll need to configure in 'Advanced'. Do you also then setup a username and password on your VPS and use these credentials to configure HybridVPN? If possible, can you configure it not to take a password and see if you can connect then?

Link to comment
Share on other sites

Hello,

 

I put this configuration in the advanced tab so I copy&paste and I didn't put any user or password because for now is not needed but seem thqt the router don't even try to make any connection , don't even start the logs tabs is empty . 

Link to comment
Share on other sites

15 hours ago, RobyOneKenoby said:

Hello,

 

I put this configuration in the advanced tab so I copy&paste and I didn't put any user or password because for now is not needed but seem thqt the router don't even try to make any connection , don't even start the logs tabs is empty . 

Does your VPN server currently require two factor authentication? If so, please disable this and then try Hybrid VPN again. 

Link to comment
Share on other sites

Nope don't need any 2FA auth ... it is just user & password  

 

this is the conf:

 

client
dev tun
proto udp
remote X.X.X.X 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
block-outside-dns
verb 3
auth-user-pass

 

and then follow the certificates nothing else .....

PS. I send you a private msg with the full openVPN configuration

Link to comment
Share on other sites

27 minutes ago, RobyOneKenoby said:

I tested before without auth so without user & password and don't connect and nope don't give any logs just failed ....

I'm not sure how much you'll be able to see but does the OpenVPN server you've configured show any failed connection attempts? Is there any logging on that side?

Link to comment
Share on other sites

  • Administrators

Unfortunately I don't think it will work this way as it was designed to be used with VPN providers, in 7 years only a few people have tried something like this and it hasn't worked. I think this would require devs to look into and I don't think they would be able to for quite awhile. As you would just specify the device to connect to it, can you continue doing it on the device itself?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...