Remote access for network printer

5

I have a network printer (HL-2250DN) that I want to also reach from outside the home network. In the network it is reachable by 192.168.0.103

Now I used a DNS service to map my external IP to a domain name. How can I now access my printer? myprinter.no-ip.org is mapping to my external ip. But how can I forward this to my printer?$

On my router I'm forwarding port 80, 631 and 646 for the IP 192.168.0.103. But still it is not working. What am I doing wrong?

RoflcoptrException

Posted 2011-09-06T18:33:25.137

Reputation: 1 355

Answers

4

Port 80 is for web servers, port 631 is CUPS' web server, and port 646 has nothing to do with Printing that i'm aware of. i.e., none of these are going to allow you to forward a printer through a firewall.

Try forwarding Port 9100 and mapping the printer as a JetDirect device. Brother's have supported JetDirect for quite some time (I map mine that way).

In Windows, adding is different:

Add Printer -> Local Printer Attached...(Uncheck auto detect) -> Select Create New Port, choose Standard TCP/IP Port -> Enter hostname, Port Name is abstract and can be anything (within reason) -> Select proper printer driver -> Done, Profit. Everything else should be standard options.

As long as you're forwarding 9100, in theory that should work...

If you're trying to get Windows printer sharing to work through NAT and a typical ISP, you're just opening yourself up to leagues of problems.

Just tested this with my Brother 2070 and a friend a couple of hundred miles away, worked great for us with just Port 9100 going through the firewall to the printer. YMMV.

peelman

Posted 2011-09-06T18:33:25.137

Reputation: 4 580

1

Can you ping said ports from the outside? Perhaps it is blocked on the ISP level, or blocked on the level which you connect through (i.e. your remote office's router).

Update: One way you might circumvent ISP or router blocking is to proxy the requests both in your print requestor (i.e. laptop at work that you're trying to print at home from) and in your home, either in your router at home or via a proxy server set up at home. Essentially you would proxy accesses to a given printer name/port to something like print.yourdomain.com:80. Your server on yourdomain.com:80 handles all of the requests on the "print" subdomain and proxies them to the correct printer IP address and port #.

Or you could get a PDF converter and save everything you want to print at home that way, and use a USB key to do the transfer. Any chance your printer has a USB port? :)

Joshua

Posted 2011-09-06T18:33:25.137

Reputation: 4 290

Im currently at home while trying it. I just do not use the local IP but the dynamic DNS entry. – RoflcoptrException – 2011-09-06T19:07:22.213

Are you still appending the port to the request, i.e. mydomain.com:631 ? – Joshua – 2011-09-06T19:37:03.057

1Due to abuses when Windows 98 was out most ISPs block file and printer sharing, but you can still try, you may get lucky. – Scott Chamberlain – 2011-09-06T20:43:21.360

@Josh yes I do @ Scott Chamberlain Ah I see, but isn't there a way to cirumstance it? – RoflcoptrException – 2011-09-07T18:33:41.660

@Roflcoptr - in answer to your "circumvent" question, see my answer updated. – Joshua – 2011-09-07T19:12:30.303

1>

  • you don't ping ports. you can ping addresses, and you can test ports using telnet, you can use nmap to scan for them, etc., but you don't ping them. 2) ISPs don't routinely filter traffic. It is prohibitive for them to enact firewalls on anything other than their private, internal systems. Even if they did, none of the ports the OP mentioned were file and printer sharing ports.
  • < – peelman – 2011-09-07T20:08:21.570

    @peelman - agreed. I use the term "ping" rather loosely. Good answer btw - you went the distance (I pun :)) and even tested it! – Joshua – 2011-09-08T02:28:26.690

    colloquially, I use it loosely too ("I sent him a ping", referring to pretty much any form of contact). but when depicting something technical I'm picky, especially here where you never really know people's knowledge level, not just the OP but those who come later via searches. – peelman – 2011-09-08T03:25:37.110

    0

    Is is possible for you just to use Google Chrome Print?

    daviesgeek

    Posted 2011-09-06T18:33:25.137

    Reputation: 1 469