Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:tt_avahi_mdns [2016/06/18 19:10] abelbeck [mDNS/DNS-SD Configuration] |
userdoc:tt_avahi_mdns [2016/06/18 21:18] abelbeck [mDNS/Bonjour Printer Discovery Example] |
||
---|---|---|---|
Line 46: | Line 46: | ||
\\ | \\ | ||
After making changes to the '' | After making changes to the '' | ||
+ | |||
+ | ==== mDNS/ | ||
+ | |||
+ | !!Courtesy David Kerr!! | ||
+ | |||
+ | The following is an example how to use the Avahi mDNS/ | ||
+ | |||
+ | Lets assume your main network is '' | ||
+ | |||
+ | Now assume you configure a guest VLAN that is network '' | ||
+ | |||
+ | With that environment perform the following setup... | ||
+ | |||
+ | Select the Network Tab in the web interface.\\ | ||
+ | {{: | ||
+ | |||
+ | Locate the mDNS/DNS-SD entry within **Network Services:** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Change to " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | A default configuration has been installed, which you can now edit by clicking on " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | In the '' | ||
+ | |||
+ | allow-interfaces=eth1, | ||
+ | | ||
+ | This enables avahi on both your main network and guest network. | ||
+ | |||
+ | In the '' | ||
+ | |||
+ | enable-reflector=yes | ||
+ | reflect-ipv=no | ||
+ | reflect-filters=_printer._tcp.local, | ||
+ | |||
+ | This tells avahi to only reflect the printing mDNS/ | ||
+ | |||
+ | Save this file and now go to the Network tab -> Firewall Configuration sub-tab and add the following as "Pass LAN-> | ||
+ | |||
+ | Action: Pass LAN->LAN | Protocol: TCP | Source: 192.168.yy.0/ | ||
+ | Action: Pass LAN->LAN | Protocol: TCP | Source: 192.168.yy.0/ | ||
+ | |||
+ | The first rule corresponds to the printer protocols that we are publishing across the LANs and allows any device on the guest LAN to connect to our printer on our main network. | ||
+ | |||
+ | Restart mDNS/DNS-SD and restart the firewall. | ||
+ | |||
+ | Now any device that connects to your guest network is able to discover and print to your printer on your main network. | ||
+ | |||
+ | This technique can also be used to make other services you might want to share from your main network to a guest network, e.g. a Apple TV / AirPlay device... add '' |