Skip to content

Instantly share code, notes, and snippets.

View nathanctech's full-sized avatar
🎷

Nathan C nathanctech

🎷
View GitHub Profile
@nathanctech
nathanctech / proxy-nginx-fxserver.md
Created May 1, 2020 14:23
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)
@nathanctech
nathanctech / discord-audit-search.py
Created December 1, 2019 05:02
Discord Audit Log Searcher
"""
Discord Audit Log Search
Very simple audit log searching to locate actions against a particular user ID.
"""
import requests
import json
import time
;Clones
dialog c {
title "mIRC Clone"
size -1 -1 244 173
option dbu
box "Status", 1, 0 0 114 42
text "Connection Status", 2, 3 8 45 8
text "", 3, 52 8 57 8
text "Network", 4, 3 19 25 8