Community discussions

MikroTik App
 
lrl
newbie
Topic Author
Posts: 25
Joined: Sat Sep 28, 2013 10:31 am

LPR/LPD Printing over VPN

Fri Jan 16, 2015 2:16 am

I have a client that we setup a VPN between two of their locations using DSL. The VPN appears to be working flawlessly.

The new office (satellite office) routes everything back to the Main office for all connectivity. The satellite office egresses onto the internet at the main office too.

The issue appears to be around printing. They are using a legacy application that use what appears to be RAW printing to port 9100 but the software company says it's LPD/LPR. I can see the connection attempts at both routers but I only see traffic headed one direction. Because we're using Policy Based Routing for Internet routes and Internal routes connection tracking is active. But the only rules are mangle rules to identify traffic. I can't see anything that should be messing with this traffic.

I know it's hard to diagnose with so little information, and I can post more if needed. Does anyone see something I might be missing?
 
mikrotik75
newbie
Posts: 39
Joined: Wed Oct 28, 2015 5:29 pm

Re: LPR/LPD Printing over VPN

Mon Nov 02, 2015 9:25 am

I have the same problem but unfortunately no solution.

Any idea?
 
mikrotik75
newbie
Posts: 39
Joined: Wed Oct 28, 2015 5:29 pm

Re: LPR/LPD Printing over VPN

Mon Nov 02, 2015 6:14 pm

First, I must re-activate the old LANCOM router. I can ping the print server on the other side of VPN and configure via web interface, but I can't print. Who can help me? What can I do to activate the print function?
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3135
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: LPR/LPD Printing over VPN

Mon Nov 02, 2015 6:37 pm

if you are using adsl you are limited in upload because normally this connections only have 1mbit/s of upload

printing traffic sometimes is too heavy (many megabytes) and printing will be very slow because the 1mbit limitation

causing congestion on your adsl connection
 
mikrotik75
newbie
Posts: 39
Joined: Wed Oct 28, 2015 5:29 pm

Re: LPR/LPD Printing over VPN

Mon Nov 02, 2015 6:52 pm

Thank you for your reply. But this can not be the problem. I've on both sides a syncron 25 Mbit/s line. And with the lancom devices it works. I think it's a feature of mikrotik ip-tables, but I don't know which.
 
troffasky
Member
Member
Posts: 436
Joined: Wed Mar 26, 2014 4:37 pm

Re: LPR/LPD Printing over VPN

Thu Nov 05, 2015 11:52 pm

It's been a while since I've seen this, but I seem to remember it being something to do with MTU or fragmentation. The fix was to replace the ancient [they only had 10M ethernet ports] Jetdirect print servers with something else.
 
mikrotik75
newbie
Posts: 39
Joined: Wed Oct 28, 2015 5:29 pm

Re: LPR/LPD Printing over VPN [solved]

Fri Nov 06, 2015 9:10 am

Thanks for all helps!

the problem is solved now. While the logging was turned on, I could see the needed rule for firewall. Now works the LPD/LPR-Printing fine.

Add on Address-List in IP-Firewall the vpns for printing:
0 print_over_vpn 10.112.0.0/16
1 print_over_vpn 192.168.2.0/24
2 print_over_vpn 192.168.10.0/24
/ip firewall filter add chain=forward action=accept dst-address=192.168.1.0/24 src-address-list=print_over_vpn in-interface=ether1-gateway out-interface=ether2-master-local log=no log-prefix="" 
mikrotik75

Who is online

Users browsing this forum: kbabioch, seriosha and 33 guests