Post your project for free and start receiving proposals from freelancers within minutes after publication!
Installation script for 3x-ui panel
Hello,
You need to write a script to install the 3x-ui panel according to this instruction. https://joyreactor.cc/post/5761728
That is, everything in the article (including protection against brute force), should be formatted into one script (it's normal if I have to answer different questions in the console during installation).
The article suggests installing SSL for the web interface of the panel from Cloudflare. I need to wrap the installation of a self-signed script as in one of the comments on the internet, below in the text.
In general, everything is simple, but there is no time to experiment. I need a script that I will run, answer questions, and the 3x-ui panel will start. I will enter it, specify the paths of the self-signed keys created, change the default port of the panel to my own, change the admin password, and quickly create a configuration for connecting the client.
Please suggest deadlines and price.
Be sure to test the script on Ubuntu before submitting the work.
Thanks
Here is a comment on creating a self-signed script. This is what I need.
The panel complains if it is opened via http. And it's right: if desired, http traffic can be easily intercepted.
The author suggests installing a certificate from Let's Encrypt... but firstly, it needs to be renewed every three months, secondly... it didn't work for me.
I installed a self-signed certificate with a long term, the installation took a couple of minutes.
1) Create a public and private certificate
openssl req -x509 -nodes -days 999 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt
The script will ask 6 questions, you can answer anything except the fifth: here you need to specify the IP address
2) Copy the keys inside the running Docker where the panel is running
docker cp selfsigned.key x-ui:selfsigned.key
docker cp selfsigned.crt x-ui:selfsigned.crt
3) Specify the keys in the x-ui web panel (Panel Settings)
- Panel Certificate Public Key File Path: /selfsigned.crt
You need to write a script to install the 3x-ui panel according to this instruction. https://joyreactor.cc/post/5761728
That is, everything in the article (including protection against brute force), should be formatted into one script (it's normal if I have to answer different questions in the console during installation).
The article suggests installing SSL for the web interface of the panel from Cloudflare. I need to wrap the installation of a self-signed script as in one of the comments on the internet, below in the text.
In general, everything is simple, but there is no time to experiment. I need a script that I will run, answer questions, and the 3x-ui panel will start. I will enter it, specify the paths of the self-signed keys created, change the default port of the panel to my own, change the admin password, and quickly create a configuration for connecting the client.
Please suggest deadlines and price.
Be sure to test the script on Ubuntu before submitting the work.
Thanks
Here is a comment on creating a self-signed script. This is what I need.
The panel complains if it is opened via http. And it's right: if desired, http traffic can be easily intercepted.
The author suggests installing a certificate from Let's Encrypt... but firstly, it needs to be renewed every three months, secondly... it didn't work for me.
I installed a self-signed certificate with a long term, the installation took a couple of minutes.
1) Create a public and private certificate
openssl req -x509 -nodes -days 999 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt
The script will ask 6 questions, you can answer anything except the fifth: here you need to specify the IP address
2) Copy the keys inside the running Docker where the panel is running
docker cp selfsigned.key x-ui:selfsigned.key
docker cp selfsigned.crt x-ui:selfsigned.crt
3) Specify the keys in the x-ui web panel (Panel Settings)
- Panel Certificate Public Key File Path: /selfsigned.crt