Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!
Resource icon

Resource Openvpn installation script 1.0

Register & Get access to index

alian87

Extended Member
Ext. Member
Joined
Feb 29, 2020
Messages
36
Reaction score
115
Points
44
Location
Brasil
alian87 submitted a new resource:

Openvpn installation script - vpn

Script to automate the installation and configuration of openvpn, tested on Ubuntu 18.04.
The configuration is compatible with XCIPTV.

In the download link there are 2 versions of the script: 1 - The customer will need the URL of the ovpn file and click on Connect to connect the vpn. 2 - The customer will need the URL of the ovpn file, login and password to access.


Image
Image 2

Read more about this resource...
 
So I was giving this a try and ran into a snag...

The installer ran perfectly and I created a ovpn file.
I then downloaded the *.ovpn file and found the official OpenVPN Connect client for macOS and added the *.ovpn file but its demanding a username and password even though I used the installed for 'access without login'. When I created the user I gave it a 'Client Name' and no password.

Here is the output from the installer / config script.


Code:
root@vpn-01:~# ./openvpn_installer.sh
Welcome to OpenVPN-install!
The git repository is available at: https://github.com/angristan/openvpn-install

It looks like OpenVPN is already installed.

What do you want to do?
   1) Add a new user
   2) Revoke existing user
   3) Remove OpenVPN
   4) Exit
Select an option [1-4]: 1

Tell me a name for the client.
Use one word only, no special characters.
Client name: test

Do you want to protect the configuration file with a password?
(e.g. encrypt the private key with a password)
   1) Add a passwordless client
   2) Use a password for the client
Select an option [1-2]: 1

Note: using Easy-RSA configuration from: /etc/openvpn/easy-rsa/vars
Using SSL: openssl OpenSSL 1.1.1  11 Sep 2018
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/easy-rsa-13815.qpNuJP/tmp.9cpFgv'
-----
Using configuration from /etc/openvpn/easy-rsa/pki/easy-rsa-13815.qpNuJP/tmp.iA47V6
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'test'
Certificate is to be certified until Jan 23 08:04:06 2023 GMT (825 days)

Write out database with 1 new entries
Data Base Updated

Client test added.

The configuration file has been written to /root/test.ovpn.
Download the .ovpn file and import it in your OpenVPN client.

Any help would be great, thanks so much.
 
So I was giving this a try and ran into a snag...

The installer ran perfectly and I created a ovpn file.
I then downloaded the *.ovpn file and found the official OpenVPN Connect client for macOS and added the *.ovpn file but its demanding a username and password even though I used the installed for 'access without login'. When I created the user I gave it a 'Client Name' and no password.

Here is the output from the installer / config script.


Code:
root@vpn-01:~# ./openvpn_installer.sh
Welcome to OpenVPN-install!
The git repository is available at: https://github.com/angristan/openvpn-install

It looks like OpenVPN is already installed.

What do you want to do?
   1) Add a new user
   2) Revoke existing user
   3) Remove OpenVPN
   4) Exit
Select an option [1-4]: 1

Tell me a name for the client.
Use one word only, no special characters.
Client name: test

Do you want to protect the configuration file with a password?
(e.g. encrypt the private key with a password)
   1) Add a passwordless client
   2) Use a password for the client
Select an option [1-2]: 1

Note: using Easy-RSA configuration from: /etc/openvpn/easy-rsa/vars
Using SSL: openssl OpenSSL 1.1.1  11 Sep 2018
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/easy-rsa-13815.qpNuJP/tmp.9cpFgv'
-----
Using configuration from /etc/openvpn/easy-rsa/pki/easy-rsa-13815.qpNuJP/tmp.iA47V6
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'test'
Certificate is to be certified until Jan 23 08:04:06 2023 GMT (825 days)

Write out database with 1 new entries
Data Base Updated

Client test added.

The configuration file has been written to /root/test.ovpn.
Download the .ovpn file and import it in your OpenVPN client.

Any help would be great, thanks so much.


i am be sure you have not port open for openvpn
i use this long time from githup .. no problems in any of my server
you chack direckt from github

github for unlimeted open vpn build


i just sourch for open vpn server web panel with loadbalancer options..:)))
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
All ports were open - that was not the issue.

I downloaded the official OpenVPN Connect app ( see the screenshot below ) and when I enter the URL into the app it accepts it but then on the second page it asks for username / password.



 
All ports were open - that was not the issue.

I downloaded the official OpenVPN Connect app ( see the screenshot below ) and when I enter the URL into the app it accepts it but then on the second page it asks for username / password.






ahhh :))

better you add not with url better better with file ...

have try with file ...??
 
Ah, adding the file and not the URL did the trick.

That seems a bit off as they both use the same dataset.

Thanks for the heads up.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top