Agiofws xeoon, you enable NAT on your laptop
Agiofws just use the lapi as the gateway on your lan to the outside world and enable nat
xeoon what if my laptop is connecting to internet through wifi and my local network connecting to my laptop through ethernet cables
Agiofws you can't share net to the lan ?
Agiofws does your lapi have Inet ?
xeoon yes my laptop has wifi + ethernet
Agiofws so you lapi has Inet but the Lan under you lapi does not right ?
Agiofws ?
Agiofws is this right ?
xeoon i just want to know how to configure it
xeoon yep
Agiofws ok
Agiofws first of all you need (that is how i would do it) to have the LAN on a dif. subnet
Agiofws now set on the lans pcs connecting to your lapi via ethernet
Agiofws gateway the lapis "ip"
Agiofws to do this
Agiofws route add default gw "lapis ip" <----this on the clients of you lan
Agiofws not on the lapi though
Agiofws you don't need nat <-----
Agiofws anyway put the laptops "ip" there where is says DNS resolver
Agiofws in windows
Agiofws or linux in resolv.conf
Agiofws and have the iptables on the laptop to accept policies