Hokey, today (check the date of the post), I managed it.
This particular setup is a bit more complex then the question, but it
should show the answer. Short(): as the previous post, open port 631.
() the port might not be enough, depending on your network set up.
Here is one example.
1 router to connect to the internet (mikro)(a mikrotik on network 192.168.100.0/24)
1 router for home computers (cave)(bluecave set up as router on: 192.168.2.0/24)
1 router for home devices (turris)(turris omina on 192.168.1.0/24)
I need computers from "cave" to print on a wifi printer on "turris".
First i needed to have the printer to get a fixed IP on the turris.
(on turris it is easy to fix the IP), you need to do the same on your router.
Let's assume: 192.168.1.111 (printer)
Then I needed to fix the IP of the turris versus the mikro.
(again the same, mikro I got it), you need to do the same on your main router.
Let's assume: 192.168.100.222 (turris)
On the turris I port forwarded 9100 and 631 to 192.168.1.111.
The "computers" should be able to see the printer at the 192.168.100.222.
So the answer is(*): open port 631.
But as you see it depends a bit on your setup.
- I am not sure if 9100 is also needed, I did it for no mac computers.
- My local network has no DNS, but on the other side is discoverable.
Hope this helps.
printer -> WiFi -> turris -> Cable -> Mikro <- cable <- cave <- Wifi <- computer