How did the war goals of the Union and Confederacy differ?

The North wanted to force the south to rejoin the union and to keep the union together. The north was split in the want of ending slavery and containing it in the south and not letting it move into territories in the west.

The south's goal was to be left alone and let them be their own country. The south of course wanted to preserve slavery. Though interesting enough, the south's newly written constitution include the outlawing of importing slaves from foreign lands.