I'm attempting to share my wifi connection from my Ubuntu computer to my raspberry pi through the ethernet port. I've tried a lot of things and nothing seems to work. 

Right now I've created a wired connection, set it to "share to other computers" and "allow all users to connect', and then on my wifi connection I switched it to "allow all users.." and "shared to other computers". I really have no idea why it doesn't work.