This question already has an answer here:
I am tried to connect raspberry pi through ethernet cable by using ssh. I used DHCP server to connect it. That is successful. I can view raspberry pi desktop in xming. But I can't browse Internet in raspberry pi browser. How to configure internet connection through ethernet cable? My computer has connected Internet in WiFi. How to share it through the Ethernet cable to raspberry pi? Computer OS is windows 7.