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.
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.
- 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.)
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 |
- If a address is not in the
proxyAddresses
list andblockNonProxyConnections
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 theserver.properties
file for this mod to work. This mod takes priority over the normal authentication process.
IpForward is licensed under Apache 2.0