Skip to content

Instantly share code, notes, and snippets.

@onvrb
onvrb / proxy-nginx-fxserver.md
Created March 31, 2021 16:27 — forked from nathanctech/proxy-nginx-fxserver.md
FXServer Reverse Proxy

Proxying FiveM Connections using Nginx

As of server version 2377, support was added to FiveM to run a custom streaming proxy similar to cfx.re, but proxying the data connection (UDP) as well. This can be accomplished very easily with nginx acting as a proxy, and you can combine the caching proxy with it.

Requirements

  • Nginx 1.17+ (1.16 absolute minimum, guide tested on 1.17)
  • Server with reasonable network bandwidth (500mbps uplink strongly suggested)
  • FXserver version 2377 or later
  • SSL certificate for the domain you're using (highly recommended)
@onvrb
onvrb / extend.md
Created April 14, 2022 21:36
extend your luks encrypted btrfs

Extend luks encrypted btrfs

  • cfdisk to resize your desired partition. write then quit.
  • cryptsetup resize luks-***... (your luks partition commonly located in /dev/mapper/luks-***...)
  • btrfs filesystem resize max / use max or whatever custom size you want done. reboot not necessary
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH