Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
/ IpForward Public archive

Adds support for proxy IP forwarding in forge. Archived, replaced by https://github.com/caunt/BungeeForge

License

Notifications You must be signed in to change notification settings

Jay113355/IpForward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I've archived this project as I no longer use it. It can be replaced by https://github.com/caunt/BungeeForge with higher minecraft version support.

IPForward

This is a MinecraftForge (core)mod that uses Mixins to add IP forwarding capabilities to forge.

This mod requires the MixinBootstrap mod or a similar mod that contains and initialises the mixin library.

Fair warning, I only tested this with Velocity which handles forwarding the FML marker differently then BungeeCord.

Features

  • Lightweight. This is designed to be an alternative to using something like SpongeForge or some bukkit-forge hybrid software.
  • Secure. This mod allows you to whitelist proxies by ip instead of having to use a firewall (this can be disabled if you prefer firewalls or have some other setup.)

Configuration

This mod has two config options

Key Default Value Description
proxyAddresses 127.0.0.1 A list of proxy ip addresses.
blockNonProxyConnections true Whether or not to block connections that are not made though a proxy
Additional notes:
  • If a address is not in the proxyAddresses list and blockNonProxyConnections is false then the normal authentication process will take place, allowing for direct connections.
  • If the proxyAddresses list is empty it will accept any connections with ip-forward data. However that is not recommended as it leaves your server vulnerable to fake proxy attacks. Only leave this blank if you intend on migrating attacks via firewall or some other join protection system.
  • If blockNonProxyConnections is false, users may join directly to the server and they will be authenticated according to the online-mode set in the server.properties If it is true, Users joining directly and/or any connections not in the proxyAddresses list will be disconnected.
  • You do NOT need to change online-mode in the server.properties file for this mod to work. This mod takes priority over the normal authentication process.

License

IpForward is licensed under Apache 2.0