So you’re using Ubuntu server and you’re just installing the MineOS webui (not turnkey).
That means that all instructions and tutorials for setting up your network for Ubuntu would be relevant here. The information you’d use typically aligns with your ‘gateway’ referring to the IP address of your home router.