Here it is the simplest way I know of to make a fresh Ubuntu Server a router
Download
Put them both in the same directory(Doesn’t matter where) and then execute the install.sh file
I’ve only tested it on a fresh install of Ubuntu Server. It should work on a non fresh install but I can’t guarantee anything.