Use this tool to find out where to put your nether portal and connect it properly with the main tunnel.
Build your portal in the overworld light it but dont go through and enter the coords below. Then go to the nether (NOT via your portal) and build the portal at the coords it said. Light it then go through. You should now be connected