#Creating an ethernet internet sharing between linux laptop (Server) and windows PC (Client)

6 messages · Page 1 of 1 (latest)

teal pecan
#

I'm trying to do as the title describes. I've done my best on my own, but at this point I've switched which IPs I'm trying to make work 3 different times, I don't fully understand what all I'm doing, so ideally, I'd like to just start over and get a step by step on this process. I have the two PC's connected via a crossover ethernet cable (I wired it myself, its definitely a crossover), on the Linux laptop, the internet network device is named internet0 with the ip address of 192.168.5.33. The ethernet cable is device net0, and has a few ip addresses from my various attempts. It originally was 169.254.113.30, then I added 192.168.123.100, then I made 192.168.6.33. All of these IPs are still listed when I run ip addr. I have iptables and dnsmasq installed, and I've enabled port forwarding in sysctl and confirmed those settings after a restart. Ip forwarding, and ip forwarding for net0 and internet0 are enabled.

noble sun
teal pecan
#

Okay I think I see the issue. In the internet sharing article, they never mention that you have to enable to iptables and dnsmasq services :p

teal pecan
noble sun