VenixPLL/LightProxynetty — reverse-engineered prompt
Reverse engineered prompt
Build me a small Java project called LightProxy that works as a lightweight TCP proxy using Netty. I want to run it from the command line, point it at a listening port and a target host and port, and have it forward traffic both ways reliably.
Keep it simple and practical, with a Maven setup, clear startup logs, connection and disconnect messages, and basic error handling so it does not crash on one bad client. Add a small config file so I can change the bind address, public port, backend address, backend port, and maybe a server icon if that makes sense for the existing project assets.
Please organize the code cleanly under src, include a main class, and make sure it can be built with Maven and started with one command. Since there is no useful README here, create one that explains how to build, configure, and run it. Look up current Netty docs online if needed.
Want more depth? Deep Reverse