I have a win10 pc, it connected to the internet through a wireless usb card with a ip of (192.168.1.104), I also set ip(192.168.122.5) on its another ethernet interface card.
Another PC ( running centos 7) has ip (192.168.122.3). These two PCs can communicated through a 1000M switch. I can perform ssh and sftp successfully from win10 to centos7.
Now I want centos7 can access internet through win10, how to resovel this?