ProjectEdenGG / Issues

An issue/project tracker for Project Eden maintained by the staff team
7 stars 0 forks source link

Experiment with proxy technologies #282

Open ProjectEdenBot opened 5 years ago

ProjectEdenBot commented 5 years ago

Submitted by Pugabyte

GriffinCodes commented 5 years ago

BungeeCord Proxy

iptables

echo 1 > /proc/sys/net/ipv4/ip_forward
PROXY_IP=139.59.137.173
MAIN_IP=149.56.242.157
iptables -t nat -A PREROUTING -p tcp --dport 25565 -j DNAT --to-destination $MAIN_IP:25565
iptables -t nat -A POSTROUTING -p tcp -d $PROXY_IP --dport 25565 -j SNAT --to-source $MAIN_IP
iptables -t nat -A POSTROUTING -j MASQUERADE

to make permanent settings: https://www.thomas-krenn.com/en/wiki/Saving_Iptables_Firewall_Rules_Permanently https://askubuntu.com/a/311054

GRE Tunnel

http://ask.xmodulo.com/create-gre-tunnel-linux.html

Other technologies

https://github.com/hrznstudio/expanse

qixils commented 3 years ago

LuckPerms data will need to be moved to a db (lots of options, including mongo: https://luckperms.net/wiki/Network-Installation)

conversion steps here: https://luckperms.net/wiki/Switching-storage-types

our proxy plugin will also need some ways to track locations for teleports and local chats and whatnot. wakka found a useful API for this: https://github.com/AnvilPowered/Anvil/