Need some help with my linux box 4chan
want to make my own router to replace my shitty micronet
my linux router has two wired nix and one wireless nix
Ive been following this video which was very helpful for getting the server setup correctly
https://www.youtube.com/watch?v=KXX5gCi0uTo
And used this guide to get wireless working "partially"
https://seravo.fi/2014/create-wireless-access-point-hostapd
SO Im a little stuck with getting wifi working
I can see my access point
I can connect
I get a IP
But I cannot get any data
Ive tried playing around with the mascaraing settings but no luck
Any help would be awesome
Router masquerade settings
network interfaces file
hostapd file
Firewall rules
Network interfaces
Bump
Would really appreciate any help folks please :D
>>85992
Did you check that the clients are getting the proper gateway address? You didn't post your dhcp server config, maybe there's a problem there. Just a guess. Are you using dnsmasq like in the blog post you linked?
>>86188
>>86188
Yup checked that
No didnt use dnsmasq as I thought that would be taken care of in Bind, but unsure of the config I would need to use
Didnt want to get bind9 confused (am new at this so dont laugh too hard)
I'll post the DHCP info, I can go and install dnsmasq and let you know how it goes
>>86199
>>86199
With this one I wasnt 100% if I could set it work with two nix devices
The wording to me reads like it only supports 1 device
>>86199
Here is the my windoze pc connected to the test wifi network
>>86203
Shouldn't clients connecting to wlan0 have wlan0's IP as default gateway and DNS instead of eth1's? You're forwarding from wlan0 to eth0 and from eth1 to eth0, but it seems like your windows client would be trying to reach eth1 from wlan0, which doesn't sound right. Especially since both are on the same network, so wlan0 wouldn't even be "aware" of having to act as gateway as pass the packets along.
Maybe if you use default for default routers and dns servers in >>86200 it would take care of this, as in it would set the gateway according to which interface received the dhcp request.
The way it is right now, with you serving dhcp out of two interfaces but hardcoding one of their addresses as gateway, it seems to me like you can only get forwarding working on that one interface and not the other. I think you can also test this by switching the gateway and dns to 10.10.10.2 and seeing if it fixes forwarding from wlan0 and breaks it from eth1, which is what I imagine would happen.
BTW, I'm not an expert in networking, so I'm sorry if I'm just being an idiot and not understanding your setup.