I have a Pi connected to my computer (running linux) through ethernet. I need this configuration for other purposes as the raspberry collects data from sensors and the data is sent through ethernet to the pc. The problem I am facing is that I need internet connection on my raspberry pi, and I would like to be able to connect to the internet using the ethernet cable. I have managed to do so on Windows, checking the "Sharing" tab under "Internet Connection Sharing", but now I need to do the same in Linux and I haven't found a way to do so. Can someone help me? Thanks in advance.
Ps: my pc does not have a wifi option as it has no wifi interface and is connected to the internet using another ethernet cable.