Jump to content

[6.9.2] HOW TO PRINT FROM VM OVER VPN TO LOCAL PRINTER (SOLVED)


Recommended Posts

My unRaid installation is at a remote location, and I connect to it via the OpenVPN server that is built into my ASUS router.  I use OpenVPN gui on the local computer.  I have a printer on the local computer, and I want to print from the VM (Windows 10) to the printer on my local computer.  Currently I am using TightVNC viewer to connect to a TightVNC instance running on the VM (I don't use the QEMU VNC because the ports change and I need it to be the same each time, not sure which VNC I'm using matters...)

 

I've looked at TSSPrint, as this has a client/server that installs and is driverless, and is highly recommended, but only works with RDP.

I've looked at the Professional Real VNC client, but the $4 fee a month is not really what I want to pay.

I've looked at trying to use an actual Remote Desktop Connection, but I don't know how to configure it.  My local computer does not see the hostname for the VM over the VPN.

 

I'm sure this is easy and I'm just being a doofus.  Can anyone help.

Edited by nerbonne
Marking sovled.
Link to comment

I did share the printer on the local PC, and tried mapping it as you suggested, using both the hostname and the IP address of the local computer and the local computer VPN adapter.  I am connecting over a VPN, therefore the VM computer cannot directly see the local computer.  I was not able to map the printer.

 

Local computer: 192.168.8.157

Local computer VPN adapter: 10.8.0.6

Gateway IP: 10.8.0.5

unRaid IP: 192.168.6.2

Win 10 VM: 192.168.122.4

 

In the unRaid network settings, could I change virbr0 to match br0?  Seems like that would solve this problem?

Link to comment

@nerbonne The VM should be connected to the br0/eth0 network interface instead of vibr0

This will then allow you to enable the Remote Desktop function (which presumes you are using Windows 10 Pro).

You should also assign the VM a fixed IP address either via a DHCP reservation on the remote router, or a statically assigned setting.

Then you connect to it via the IP address from your local Windows and set RDP to map your printer over.

 

Link to comment
  • nerbonne changed the title to [6.9.2] HOW TO PRINT FROM VM OVER VPN TO LOCAL PRINTER (SOLVED)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...