How To - Relayd
It is possible to acheive a bridge-like client mode configuration with the help of relayd. With this method you can bridge a standard Wireless AP to a wired LAN or a wireless WLAN. This is useful in the following configurations:
- extend the range of a wireless Access Point (by relaying between a local virtual AP and client attached to an upstream AP)
- provide a bridge between a wired LAN and a wireless Access Point (by relaying between local LAN port and client attached to an upstream AP)
The following steps need to be done for OpenWRT:
- Configure a managed network interface to connect (with encryption if needed) to your 'upstream' Access Point
- (Optional) Add a new wireless interface configured in AP mode with desired encryption
- Add a new network interface using the protocol of 'relayd' bridging the upstream and downstream networks
- Change firewall settings so that Input/Output? packets are accepted for both upstream and downstream networks
For additional configuration information see: http://wiki.openwrt.org/doc/recipes/relayclient
Configuration via Web-Admin on OpenWRT:Attitude Adjustment
1. Click on the Network tab, then the Wifi tab.
2. Click on the icon with alt text "Edit this network" next to the Wireless Controller you wish to use.
3. Check the box next to Enable device to enable the Wifi. Click on Save & Apply at the bottom of the page.
4. Go back to the wifi page by clicking on the Wifi tab again.
5. Click on the icon with alt text "Find and join network" that is above the "Edit this network icon"
6. Click on "Join Network" next to the network you wish to join.
7. Enter the Passphrass for the network and select "lan" under the Create/Assign? firewall-zone field. Click on submit at the bottom of the page.
8. Click on the Interfaces tab under the Network tab.
9. Click on Add new interface.
10. Name the interface. (Here it is named "stabridge")
11. Leave "Create a bridge over multiple interfaces" unchecked.
12. Check "Custom Interface" for the interface to cover and click on submit.
13. Select "Relay" from the drop down menu for the Protocol.
14. Under "Relay between networks" check both lan and wwan.
15. Click on Save & Apply at the bottom of the screen.
16. Under the Network tab, click on the Firewall tab.
17. Under Zones, change the forwarding for lan and wwan to "accept"
18. Click on Save & Apply at the bottom of the screen.
19. Make sure the IP address of the lan interface is in a different subnet as the wwan network.
Attachments
-
relayd1.jpg
(133.0 KB) - added by smarano
6 months ago.
-
relayd2.jpg
(118.2 KB) - added by smarano
6 months ago.
-
relayd3.jpg
(104.1 KB) - added by smarano
6 months ago.
-
relayd4.jpg
(114.4 KB) - added by smarano
6 months ago.
-
relayd5.jpg
(138.4 KB) - added by smarano
6 months ago.
-
relayd6.jpg
(194.5 KB) - added by smarano
6 months ago.






