Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:tt_avahi_mdns [2016/06/18 21:02] abelbeck |
userdoc:tt_avahi_mdns [2016/06/19 07:22] (current) abelbeck [mDNS/Bonjour Printer Discovery Example] |
||
---|---|---|---|
Line 47: | Line 47: | ||
After making changes to the '' | After making changes to the '' | ||
- | ==== Bonjour/mDNS Printer Discovery Example ==== | + | ==== mDNS/ |
!!Courtesy David Kerr!! | !!Courtesy David Kerr!! | ||
- | The following is an example how to use the new avahi Bonjour/mDNS discovery service to make printers available onto a guest network. | + | The following is an example how to use the Avahi mDNS/ |
- | Lets assume your main network is '' | + | Lets assume your main network is '' |
- | Now assume you configure a guest VLAN that is network '' | + | Now assume you configure a guest VLAN that is network '' |
- | With that environment | + | With that environment |
Select the Network Tab in the web interface.\\ | Select the Network Tab in the web interface.\\ | ||
Line 87: | Line 87: | ||
reflect-filters=_printer._tcp.local, | reflect-filters=_printer._tcp.local, | ||
- | This tells avahi to only reflect the printing | + | This tells avahi to only reflect the printing |
- | Save this file and now go to the Firewall settings in the AstLinux | + | Save this file and now go to the Network |
- | Action: Pass LAN->LAN | Protocol: TCP | Source: 192.168.yy.0/24 | Destination: | + | Action: Pass LAN->LAN | Protocol: TCP | Source: 192.168.102.0/24 | Destination: |
- | Action: Pass LAN->LAN | Protocol: TCP | Source: 192.168.yy.0/24 | Destination: | + | Action: Pass LAN->LAN | Protocol: TCP | Source: 192.168.102.0/24 | Destination: |
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. | 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. | ||
+ | |||
+ | !!Tip ->!! The firewall rules above could use '' | ||
Restart mDNS/DNS-SD and restart the firewall. | Restart mDNS/DNS-SD and restart the firewall. |