Don,

Late response as I have been putting out fires today.

OK, I am going to try your suggestion this weekend, It sounds pretty
straight forward so I am hoping it just works


Thanks

John


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Don Brown
Sent: Thursday, September 20, 2018 5:58 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Question about using my PC and printer at home using a
VPN to connect to Power 8 running 7.2


If you are using a remote output queue I think you will find the port
number is 515.

If a device description could be used for your printer then the
default is generally 9100 but you also have the option to specify a
port.

If your home router supports NAT (network address translation) you can
easily set up a rule to forward the printer request to the home
printer.

On the IBMi create the printer definition (Remote output queue or
device
description) and use the outside address of your home router. (I
think you said in a previous post that you have a static ip address)

Then on the home router create a rule that says anything received on
<port>
(515 or 9100 or whatever you used) send to the inside address of your
home printer. You could further lock this down by specifying the
outside address for the IBMi - that is the internet address that the
printer traffic from the IBMi is using. If you do not know this
address ask one of the network people at your office. So your rule
would then be any traffic from <IBMi Outside Address> on <port> send
to <inside printer ip address> on <inside port>

While this may seem complicated it really is not and most routers have
a gui interface for setting just this type of stuff up.

We have a few printers connected this way and they are generally very
reliable. Issues are generally with poor internet connections and
ending and restarting the printer will commonly get it printing again.

Hope this helps



Don Brown






From: "John Allen" <jallen@xxxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 21/09/2018 12:13 AM
Subject: RE: Question about using my PC and printer at home
using a VPN
to connect to Power 8 running 7.2
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I will forward port 9100 to printer IP and see if that works for me

Thanks

John


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Art Tostaine, Jr.
Sent: Thursday, September 20, 2018 9:55 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Question about using my PC and printer at home using a
VPN to connect to Power 8 running 7.2

Sorry missed the last question. Your router's port forwarding config
should ask for the port range to forward. Just do the 9100 to the
printer.

On Thu, Sep 20, 2018 at 9:54 AM Art Tostaine, Jr.
<atostaine@xxxxxxxxx>
wrote:

If you are using the VPN in Windows then that's the only device
that's
visible to your company's LAN. You need to use an ACS printer
session
because that can connect to the IBM i and then connect to the
printer
on the LAN.

If the IBM i can ping your routers address then you can go with
Remote
Outq. I think the port is 9100. I would just go with a regular
printer device though, you can specify any port you want.



On Thu, Sep 20, 2018 at 9:48 AM John Allen <jallen@xxxxxxxxxxx>
wrote:

Art,

The Printer is on my local network (not attached to the PC)

My Router (at home) has port forwarding where I can forward port
xxxx
to IP address I do not see how I can specify a Port# when Creating
a
Remote OUTQ

I do not want to forward everything coming into my home public IP
to
my printer

Any ideas how to get around forwarding everything incoming to a
specific printer IP?


Thanks

John

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf

Of Art Tostaine, Jr.
Sent: Wednesday, September 19, 2018 10:28 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Question about using my PC and printer at home using a

VPN to connect to Power 8 running 7.2

Is your printer on your local network or attached to your PC? If
it's on the network, you could create a remote outq to point to
your
public IP, then you would setup port forwarding on your router to
go
to the ip address of your printer.

If it's attached to your PC, The VPN will provide you with an
internal IP Address, 192.x.x.x. For your printer to work, you need

to setup an ACS printer session, NOT a remote Outq.

Art

On Wed, Sep 19, 2018 at 6:32 PM Diego E. KESSELMAN <
diegokesselman@xxxxxxxxx>
wrote:

Have you tried using a printer session?

To connect your IBMi to your remote printer you'll need a
LAN-to-LAN VPN. I guess you're using Win7 VPN client, so IBMi can

only see your PC, not your printer, unless you install something
like WinLPD or MochaLPD and point the remote queue to your PC.

Good luck

Diego Kesselman

El 19/9/18 a las 15:50, John Allen escribió:
I have setup a VPN connection on my home PC to connect to our
corporate office.

(Using the VPN within Microsoft Windows 7 Pro)



I am loading IBM i Access Client on my home PC to do some
programming at home.



I also have the need to print so I assume I can setup a Remote
Output Queue on our Power 8 (correct me if I am wrong)



My ISP assigned my home a static IP address with my PC and
printer having IP addresses of 192.168.1.xxx



Can anyone tell me how I can create a remote output queue on
the
Power
8 that will connect to my HP laser printer at home.



Thanks in advance for any help/suggestions you may offer





John

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD



--
Art Tostaine
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take
a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take
a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD



--
Art Tostaine



--
Art Tostaine
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.