GameReady Router: How I Used A Raspberry Pi for Console & Laptop LAN Connectivity

If you’re like me, you’ve probably found yourself in a situation where you need a LAN...

DEV Community

@thepracticaldev Apologies if I'm missing something because it's late and I'm tired, but I think the related/established rule might be the wrong way around. You want to allow FORWARDing only related/established from wlan0 to eth0 but you want to FORWARD/ACCEPT all outgoing connections from eth0 to wlan0.

EDIT: To clarify, I think the in and out devices should be swapped in the second rule, e.g:

`sudo iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT`

@thepracticaldev why should someone connect a PS5 to a lan connection that is routed to a WiFi? That doesn't make any sense.
@Fizzblizz @thepracticaldev makes sense when the PlayStation 5 lives somewhere with limited WiFi connectivity, e.g. inside furniture.