Created
January 6, 2021 20:14
-
-
Save ConorShore/e006623f9e61970688fb2c54ecf17c2e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "server.properties" | xargs cat | grep server-port | cut -f 2 -d "=" | xargs -n 1 -Ihere upnpc -r here here TCP | |
#Search current directory and subdirectories for minecraft servers and uses uPnP to automatically port forward them all | |
#Method | |
#find the server.properties files, search the with grep for the server-port field, then copy that into upnpc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment