Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: bernhard on September 07, 2004, 05:17:37 PM
-
Is there anyone who know the way to open printer share from both available network interfaces in a SME v6 server and gateway.
I will not set up an VPN tunnel from the remote location, only allow printer to accept incomming job from both the local net and the internet.
Any suggestions :hammer:
-
I have found a solution on this topic if there is someone interested out there.
Here is what to do for to map a printer at your local Linux workstation running SSH + Rdesktop to access a remote wk2 terminal server desktop via internet.
Linux Workstation + "printer1" (on the SME box)
|
|
SME V6 + Shared printer at the local net "printer1"
|
|
Internet
|
|
SME V6
|
|
Wk2-Terminal Server with printer "mydomain.com:printer1"
Here is what to do:
Create portforwardings in the SME box.
(192.168.1.12 is the ip adress of my local Linux workstation).
Protocol -Source Port(s) Dest.Host IP-----------Dest.Port(s)
TCP-------515------------192.168.1.12-----------515
TCP-------9100-----------192.168.1.12-----------9100
TCP-------631------------192.168.1.12-----------631
UDP-------515------------192.168.1.12-----------515
UDP-------9100-----------192.168.1.12-----------9100
UDP-------631------------192.168.1.12-----------631
(Perhaps you don't need all this ports, but I mapped them all for to be shure that it should work, and now I will not take the risk to crash the function of it all).
In the wk2 terminal server on the remote location:
Install printer services for UNIX
Install a local printer on LPR port "mydomain.com:printer1"
Logg in to your RDP-account and map this printer as your standard printer.
Thats it, the printer on the SME box at home is shared from the Linux workstation behind the firewall and is seen from the internet as it was shared with the same name as you have given it in your worksation, but with the ip adress, (or the domain), of your SME server at home.
In my case I have a DynDNS domain connected to my SME box so it don't matter if the ip-adress changes.