I'm trying to set up a WiFi link between two buildings. On one side I've got a regular SoHo (network A) router (Linksys EA4500) and on the other side I've got an Alfa AWUS036H (network B) connected to some Debian box. On the Debian box I can connect to network A and have no issues.
How should I proceed about bridging that connection to the rest of network B?
My current thought is to plug an ethernet cable into the Debian box. So the Debian box would be hooked to network B by wire, and network A by wireless. Since this Debian box would not be the router on network B though, this brings up the question of having it forward traffic for other nodes on network B. Do I set up a static route on the network B router to point that traffic at my Debian box and enable forwarding (i.e.
sysctl net.ipv4.ip_forward right?)
Can someone provide me a push in the right direction? I'm clearly new to this. Thank you!
Edit: Network B has its own router already that's doing a PPPoE connection for Internet access and is running pfSense.