Printing through SSH or VPN?

Associate
Joined
18 Oct 2002
Posts
1,783
Location
Kent, UK
I've got a Epson R340 printer hooked up to my home PC running XP pro, and want to be able to print to it remotely from my work laptop.

The laptop is connected to the same physical network at home, but all network traffic is directed through a VPN to my work's network. I have SSH set up and can tunnel through the VPN to remote control and file transfer the home PC however I cannot find any way of printing via this route.

Does anyone know whether it is possible? Any help/assistance gratefully received.

Thanks :)
 
Firstly, thanks for the help so far, but having looked at a few web pages which supposedly explain routing, and the "/?" help for the route command I think I'm going to need a bit more help.

I've not tried the SSH option yet, as it would be better to keep the network traffic local if possible rather than sending it via our (slow) corporate network.

I've done a route print before and after connecting to the VPN and this is what I get:

Before

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0b db dc 1d 1b ...... Broadcom 570x Gigabit Integrated Controller - Pa
cket Scheduler Miniport
0x3 ...44 45 53 54 42 00 ...... Nortel IPSECSHM Adapter - Packet Scheduler Minip
ort
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.73 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.73 192.168.1.73 20
192.168.1.73 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.255 255.255.255.255 192.168.1.73 192.168.1.73 20
224.0.0.0 240.0.0.0 192.168.1.73 192.168.1.73 20
255.255.255.255 255.255.255.255 192.168.1.73 192.168.1.73 1
255.255.255.255 255.255.255.255 192.168.1.73 3 1
Default Gateway: 192.168.1.254
===========================================================================
Persistent Routes:
None


After

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0b db dc 1d 1b ...... Broadcom 570x Gigabit Integrated Controller - Pa
cket Scheduler Miniport
0x3 ...44 45 53 54 42 00 ...... Nortel IPSECSHM Adapter - Packet Scheduler Minip
ort
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 153.65.245.248 153.65.245.248 1
0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.73 2
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
153.65.16.12 255.255.255.255 192.168.1.254 192.168.1.73 1
153.65.244.0 255.255.252.0 153.65.245.248 153.65.245.248 30
153.65.245.248 255.255.255.255 127.0.0.1 127.0.0.1 30
153.65.255.255 255.255.255.255 153.65.245.248 153.65.245.248 30
192.168.1.0 255.255.255.0 192.168.1.73 192.168.1.73 20
192.168.1.0 255.255.255.0 153.65.245.248 153.65.245.248 1
192.168.1.73 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.255 255.255.255.255 192.168.1.73 192.168.1.73 20
224.0.0.0 240.0.0.0 192.168.1.73 192.168.1.73 20
224.0.0.0 240.0.0.0 153.65.245.248 153.65.245.248 1
255.255.255.255 255.255.255.255 153.65.245.248 153.65.245.248 1
255.255.255.255 255.255.255.255 192.168.1.73 192.168.1.73 1
Default Gateway: 153.65.245.248
===========================================================================
Persistent Routes:
None

The IP address for the laptop which I want to print from is 192.168.1.73 and the IP address for the home PC which has the printer connected is 192.168.1.10.

What will I need to do to direct the traffic from the laptop to the home PC in the way you suggest?

Thanks :)
 
Thanks for the suggestions so far guys. Unfortunately, I'm going to have to park this for a couple of days, as I'm now out of the country and will need to wait until I'm back home to test it.

I'm pretty sure that I can't ping the local machine (192.168.1.10) and that all traffic is being directed through the VPN (i.e. I assume no split tunnelling allowed).

I'll resurrect the thread in a few days once I can check and take it further.
 
Right, I'm back...

...and I can confirm that connecting to the work VPN does indeed prevent me from pinging the local machine.

Any ideas about how to proceed?

Thanks. :)
 
Back
Top Bottom