Re: remote printing via ssh tunneling
Trev Peterson <[email protected]> Mon, 06 Jun 2011 19:33:44 -0500
| Newsgroups | gmane.org.user-groups.luni.tech |
|---|---|
| Organization | Advanced Reality |
| Message-ID | <1307406824.8425.21.camel@aegir> |
Do you have access to the firewall? If so add a rule to allow tcp/22 to the right sshserver. If not, what ports are any ports already forwarded/allowed to the right sshserver? If not can you config the right sshserver to open a VPN tunnel to the left sshserver (preferably openvpn since it is easiest to pass through firewalls)? Basically, somehow the tunnel needs to be allowed to connect to the right sshserver. This can be done by poking a hole in the firewall to allow it directly (optimal) or by having a tunnel built back to the other server if the firewall config is locked down and you can't change it. IIRC, you can also establish a reverse ssh tunnel from the right ssh server back but I think the VPN connection is better since the daemon will retry with any new traffic (should the tunnel go down for some reason). Hope this helps, On Mon, 2011-06-06 at 18:25 -0500, Michael McCune wrote: > I am trying to tunnel a printer session through ssh and I am having > trouble getting it working properly. Both servers have ssh and sshd on > them. Below is the layout of what I have to work with: > > PrintServer(port9100) -> sshServer -> Internet -> firewall -> > sshServer ->printer(port9100). > > The problem is that the firewall in blocking incoming connections to the > server on the right and I need a way around it. -- Trev Peterson Advanced Reality Email: [email protected] Phone: +1 847 406 9018 -- Linux Users Of Northern Illinois (Chicago) - Technical Discussion http://luni.org/mailman/listinfo/luni