Link to home
Start Free TrialLog in
Avatar of nike_golf
nike_golfFlag for Afghanistan

asked on

Remote printing using CISCO VPN

I'm trying to add a remote printer using my local printer for printing my remote connections documents. I've seen a few success stories of people using LPT1: but I'm having problems trying to get it to work for my situation.

I have an HP PSC2510 not connected to LPT1: but using a TCP/IP port of PSC2510, the printer has been shared with a share name of vpn_psc250.

I'm trying the following but with no success (net use PSC2510 \\kyhost00\vpn_psc250 /persistent:yes)

So, is it possible to get this thing going? When I print from my remote computer it seems happy with a printer on LPT1: so I guess I need a way to remap LPT1: to my TCP/IP port, can this be done?

Thanks for any light you can shed.

NG,
ASKER CERTIFIED SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi!
i suppose you can ping your office pc's from vpn. and can browse file shares via vpn.

if yes, then to print to remote printer as from lpt1 (needed for old DOS apps)
net use lpt1: \\server\printername [/persistent:yes]-if needed

if you want to add tcp printer port (do not want to use shared printer), please check that your vpn box allows port 9100 through.
because when you create standart (or any other) tcp/ip printer port, windows in most cases use port 9100 to exchange data with printer port. sure thing, port's ip address should be the same as for pc's in your office.

Avatar of nike_golf

ASKER

It does appear from the client that I have the option to "allow local LAN access" how then is the printer setup, do I simply install the printer driver and away we go?

Thanks.

NG,
yepp, you vpn client virtually a part of your local network. so you install printer as usually.
Sorry another question related...

Reading through the Cisco site it appears I can edit the LMHOSTS file for local access to the printers (http://www.cisco.com/en/US/products/hw/vpndevc/ps2284/products_configuration_example09186a00806f34e6.shtml#byname)

from the doc:

******************************************************************************

Unable to Print or Browse by Name

When the VPN Client is connected and configured for local LAN access, you cannot print or browse by name on the local LAN. There are two options available to work around this situation:

    *

      Browse or print by IP address.
          o

            In order to browse, instead of using the syntax \\sharename, use the syntax \\x.x.x.x where x.x.x.x is the IP address of the host computer.
          o

            In order to print, change the properties for the network printer to use an IP address instead of a name. For example, instead of the syntax \\sharename\printername, use \\x.x.x.x\printername, where x.x.x.x is an IP address.
    *

      Create or modify the VPN Client LMHOSTS file. An LMHOSTS file on a Windows PC allows you to create static mappings between hostnames and IP addresses. For example, an LMHOSTS file might look like this:

          192.168.0.3 SERVER1
          192.168.0.4 SERVER2
          192.168.0.5 SERVER3

      In Windows XP Professional Edition, the LMHOSTS file is located in %SystemRoot%\System32\Drivers\Etc. Refer to your Microsoft documentation or Microsoft KB Article 314108 leavingcisco.com for more information.

******************************************************************************

Do I need to share the printer and modify the LMHOSTS file or can I simply modify the LMHOSTS file?

NG,
I think I'm making some progress but am a little stumped?

After checking to "allow local LAN access" I'm still not able to ping the local LAN and it doesn't show up in the Route Details in the VPN client. So, there is another step somewhere...

In the link above there is a section called "Configure the VPN Concentrator" and it has a check box "Allow the networks in the list to bypass the tunnel" I'm guessing that this can't be done from the client only on the concentrator??? or is this in the .pcf file, can I simply add an item to it and get rolling?

How do I go about doing this?
I'm still trying to get this going, since I don't have access to the Concentrator I'm wondering if this can be done.

johnb6767,

I'm curious about your post. Can you explain a little more on how this will work?

NG,