On Wed, Feb 17, 2016 at 12:39 PM, Stefan Sperling <s...@stsp.name> wrote: > On Wed, Feb 17, 2016 at 10:54:54AM +0900, Tuyosi Takesima wrote: >> wifi router >> 192.168.100.254 >> | >> |wireless >> | >> rum0:dhcpcd > > This kind of bridge between two wireless devices requires support for > the WDS ("wireless distribution system") extension for both the wifi > router and rum0. https://en.wikipedia.org/wiki/Wireless_distribution_system > This functionality is not part of standard 802.11. > > OpenBSD doesn't support WDS, so you're out of luck and your plan won't work > like this. Sorry. If the wifi router supports WDS you could try to build > a wireless bridge with some other device (e.g. some device running OpenWRT) > and run a cable to your OpenBSD box from there. >
My bad, I didn't realize you couldn't bridge this way. I have the reverse setup going in my room, wire from gateway to BSD box which provides an additional access point to other wireless devices in my room. I know it doesn't meet your original requirements but you could set up your openbsd box to host a second LAN off of re0 and then nat-to its address on the wireless. Or just set up a second network and configure your routing tables approriately and you shouldn't need NAT.