Routing remote iSeries IP printing through a VPN tunnel

Posted on 2012-08-31
Last Modified: 2014-12-23

We have an iseries with several *LAN configured printers using port 9100.  These were created using  a CRTDEVPRT command with *IP connection.  They are currently on the same network segment as the iSeries.  For example, one printer has an IP address of  The iSeries will now be moving to a remote location but I still need to be able to route print traffic to this printer.  We will have a VPN tunnel from the new iSeries location to the printer location.  The traffic will have to flow through 2 firewalls.  We can't use a remote output queue because of the printing requirements.

How do we route this traffic?  We could assign an external IP address to the printer and then change the iSeries device to use the external IP and then route it through the firewall and NAT it to the internal ip address at the remote location.  Will this work and is there a better way?  The printer is configured to use port 9100.  Is this the only port required or does is also use port 515 or other ports?
    LVL 6

    Accepted Solution

    Port 9100 is the only port needed.  As long as the 400 can ping the printer on its old IP address, a test device with the printers IP can ping the 400 at it's new address, and the 400 can open port 9100 (test with command: TELNET RMTSYS('') PORT(9100) ), you are good to go.   The complexity of the network is somewhat irrelevant as long as the VPNs that are in place allow for a direct IP connection between the two devices (aka site-to-site VPN).  In your case, the only issue I would foresee is ACLs or rules on the firewall not allowing the ping or port 9100 from one side of the VPN to the other.  

    FYI, 9100 is typically for PJL and sometimes IPDS communications.   515 is for pure LPR\LPD.  You should not need that here.

    ~Jon Snyderman
    LVL 26

    Assisted Solution

    There might be firewall or ACL problems, but you haven't asked about that yet. So... routing.

    If the routing doesn't happen normally, you might simply add a route with the ADDTCPRTE command or through option 2 of the CFGTCP menu.

    Exactly how the route parms will be set can be determined if the VPN link is described more.

    LVL 14

    Expert Comment

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Suggested Solutions

    After several days of searching and hunting for limited documentation, I wanted to share this guide to hopefully save someone the hassle of trying to figure this out on their own. I have tested this on Xendesktop 7.1 and PS 4.5 running simultaneous…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now