Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Tunnelling lpd printer

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
nianderson
Guru
Guru
Posts: 369
Joined: Tue May 06, 2003 1:30 am
Location: Lawrence, KS
Contact:
Contact nianderson
Website

Tunnelling lpd printer

  • Quote

Post by nianderson » Wed Oct 04, 2006 12:45 pm

Ive got a print server hooked up to my printer at home. It serves out the printer on lpd at queue lp2. I want to tunnel 515 to my laptop when I am away from home and be able to print to my home printer.

I know I can do ssh -L<arbitrary port>:print-server-ip:515 and have 515 tunnelled to <arbitrary port> on my laptop. I cant figure out how to make cups print to lpd on <arbitrary port> though. I don't want to have to be root so I can tunnel 515 to localhost 515. Does anyone have any tips on how to do this?
Top
GordSki
Guru
Guru
User avatar
Posts: 329
Joined: Mon Oct 18, 2004 7:48 pm
Contact:
Contact GordSki
Website

  • Quote

Post by GordSki » Wed Oct 04, 2006 1:41 pm

Not exactly what your looking for but might get you the same result: http://www.linuxjournal.com/article/5462

G.
Top
nianderson
Guru
Guru
Posts: 369
Joined: Tue May 06, 2003 1:30 am
Location: Lawrence, KS
Contact:
Contact nianderson
Website

  • Quote

Post by nianderson » Thu Oct 05, 2006 12:54 am

Yeah I saw that article while searching around. Not quite what Im looking for, might have to resort to it though :(. Im still hoping someone has done what I am trying to do and has either a better work around or a solution.

Thanks for the suggestion though.
Top
GordSki
Guru
Guru
User avatar
Posts: 329
Joined: Mon Oct 18, 2004 7:48 pm
Contact:
Contact GordSki
Website

  • Quote

Post by GordSki » Thu Oct 05, 2006 9:12 am

I had a quick look at CUPS and it looks like you can do something like this for the device URI:

Code: Select all

lpd://localhost:<arbitrary port>/lp2
This might do the trick....

G.

EDIT: That format isn't listed as one of the examples, but it didn't complain when I entered it......
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic