How to share internet on Ethernet interface running ubuntu?

Hi,

I want to know how I can share internet I access through wifi on rockpi to ethernet nic interface ? I can’t find any way to get this working.
please help.

Hello, seaurchin

keywords: net.ipv4.ip_forward, iptables, dnsmasq