I'm using a Debian based Linux system, basically there are these interfaces:
wlan0 "wifi connected - 192.168.0.0/24"
interface2 "not physical interface - 192.168.20.0/24"
eth0 "ethernet cable unplugged- suppose to be connected to windows 7"
What I want is share connection from my Linux to windows 7 through ethernet cable. What i did was using network manager and configure eth0 as "shared to other computer" and it worked!
When I connect linux to windows computer using the cable, my windows 7 pc automatically connect to wlan0 interface and got that interface public ip! What I want is do the same but using only the interface2 interface!
So that my windows pc can browse that specific network using interface2 and shared connection!
Is there a way to do it?