I'm having internet issues in my dorm and I can solve them by bridging the dorm's WiFi (wlan0) to ethernet (eth0). I've read a lot of tutorials online, but most of them are outdated or not applicable in my case.
Because I don't own the network I can't get myself a static IP for the pi and there is also a login portal that I have to go through every time to connect.
I've read that it's not possible to have a real bridge between wlan0 and eth0 because of hardware limitations, but I just need to be able to plug in an ethernet cable into my pi and have it connect to the network via the pi's WiFi.
How would I go about doing this given the limitations I have (non-static IP and the login portal)? The networks don't have to be on the same subnet.
Thanks!
iptables
FORWARD
based method. Note that you do need to assign a static IP to whatever is connected to the pi, but that has nothing to do with the uplink network (the dorm one). You could instead run a DHCP server, but if you only have one client (on the other end of the ethernet cable) it is not worth bothering with. – goldilocks Oct 08 '19 at 12:55