Handy script to install nginx as a proxy for your FiveM/RedM server.
As I own purplemaze, an anti-DDoS protection for FiveM, I needed to generate some proxy by hand, and I thought it would be a good idea to automate the process.
Additionally, some people were asking me how to do it, so I decided to make a script to help them.
Feel free to DM me on Discord for help: @m2p_
- Debian linux distribution (Tested on debian 10/11)
- Root access
- A domain name
- A FiveM/RedM server
- Download the script
- Make it executable:
chmod +x fivem-proxy-install.sh
- Run it:
./fivem-proxy-install.sh
- Follow the instructions
- Enjoy your new proxy!
If you want a strong protection with more than a year of experience and constantly updated, you can check out PurpleMaze.
- I personnaly recommend to use CloudFlare: DNS, Proxy and Edge Cache are really useful.
- Please do not use the built-in nginx cache, as it's a mess if you want to udpate your scripts, and it would cost you a lot more than CloudFlare.
- If you have your own SSL certificate, then just check web.conf to edit what needs to be edited.
- If you want to use a custom port, then just check web.conf to edit what needs to be edited.
- A single proxy is not useful at all as a DDoS protection, but it can be useful to hide your IP address.