tunnel

Tunnel over HTTPS

At my workplace, the traffic blocker/firewall has been getting progressively worse. I can't connect to my home machine on port 22, and lack of ssh access makes me sad. I was previously able to use SSH by moving it to port 5050, but I think some recent filters now treat this traffic as IM and redirect it through another proxy, maybe. T...

Can I do SQL Server 2005 merge replication through an SSH tunnel?

Our usage case is a database responsible for accounts, sessions, licenses, etc. — it needs to be polled upon client startup, so high reliability is crucial. As such, we'd like to replicate across different servers in physically separate networks, just in case an entire datacenter happens to go down. I have successfully set up a push subs...

Tunneling proxy on VS 2008.

Is there a way to tunnel a proxy to access a remote sql server database on visual studio 2008? I'm working in a project at college that uses a sql server database but the access is restricted to the internal network. I'd like to access the database from my home too. Thanks in advance. ...

Restricting JMX to localhost

While there appears to some documentation on how to expose JMX through various firewall and tunneling schemes, I sort of want the opposite. I want to ensure that JMX is only accessible to local machine. Unfortunately it appears that the "out of the box" management options do not allow restricting the ports to a local interface and nets...

Reverse SSH tunnel monitor

I've setup a reverse ssh tunnel, using PuTTY, to allow me to VNC into a home computer without having to enable NAT port forwarding. Works great, no problem. I would like to set the tunnel up as a "persistent service" that will connect on boot up and reconnect when dropped. PS. this is on Windows. Exhaustive googling found a few produ...

Create a second ssh key

Hi, I need to create a script that automatically setup a ssh tunnel. I think that a dedicated ssh key without password is a good start but I couldn't find if this is possible and how to do it. This key should have limited privileges (only set the tunnel up) but I need another private key (with a password) for myself. Thanks ! ...

How to build a tunnel for file transfer between distant windows 2003 machines quickly

I have two distant locations with Windows Server 2003. Can I build a secure tunnel quickly? Is there secure VPN built into the OS? I have domain names and router control on both sides. I can build a "VPN" connection with the wizard (PPTP), I opened port 1723 TCP on the other router, do I need 47 GRE also? The router does not allow me to...

How to interface with the Linux tun driver

Hello; I'm having a hard time figuring this problem out - I am trying to write a program that will interact with the Linux tunnel driver. At a very basic level, I simply want to create an application that is able to transfer data over a network tunnel. However, I am completely at a loss as to how to properly set up the tunnel driver i...

ssh tunnelling chain

Here is the scenario I am trying to get scp access to server3, but there is only public ssh access to server 1. To ssh to server3, I have to ssh to server1, ssh to server2, then ssh to server3. My hopeful end result would be that I could WinSCP to localhost:8022 and it will give me file access to server3. I am trying to use ssh tunnel...

tunnel failed in blackberry bold. why?

Hi, I created a j2me program and ported it to the blackberry bold. The program does some http queries. Every now and then these fail with the exception: 'tunnel failed' My APN settings are correct (since sometimes it does work). I connect with ';deviceside=true' appended to the url I notice that when the browser has just been active...

nil facebook_session with Facebooker gem and Rails 2.2.2

Integrating FB Connect into our site using Rails 2.2.2 and Facebooker gem (latest version). Login button, xd_receiver files generated fine to the point where the login popup window will open, I can log in, and it will then execute the onlogin event, but Facebooker's facebook_session method just keeps returning nil. Upon inspecting the se...

Connecting to gitosis server through an SSH tunnel.

I've got an SSH tunnel setup on my macbook, like this... $ ssh -o ServerAliveInterval=3 -N -L 22222:gitosis-server:22 [email protected] So I can ssh to localhost:22222 and will end up on the gitosis-server behind the firewall. I've created a local id_rsa.pub file, copied it into the gitosis server(running Centos5), and importe...

Communication between two nodes running Java apps using SSH tunnel

Hi, I'm running an application on a bunch of nodes in a class A network, but can only access them from my own system if I log into the only node in that network that also has a class B address. However, the client portion (with the GUI and everything) can run only on my system, so I need some way of communicating with the class A netwo...

silverlight tcp tunneling / bridging

I have an application that I develop in Silverlight and it must connect to another legacy app that I cannot control which demands TCP connection on the 3005 port. I can't modify the legacy app to bring the port in the silverlight accepted range (4502 - 453x). Is there a bridging app / another solution that would listen on a configurabl...

SSH tunneling + HTTP proxy

Hi! Consider the following scenario: I can connect to SSH_Server to access internet. I can also connect to HTTP_Proxy to access blocked ports. Now I want to use the HTTP_Proxy through the tunnel to the SSH_Server! e.g. [uTorrent] > [SSH_Server] > [HTTP_Proxy] > [peer/tracker] I'm on Windows and I use putty. Will privoxy help? Thank...

Simple SSH Tunnel in Java

I want to create an SSH Tunnel in Java. I noticed quite a few Java SSH libraries on another post. Before I dig into each option, maybe someone can give me some code snippets of how they did it or at least tell me which client library would work best. I only need tunneling. I won't need stuff like file transfers, terminal emulation, e...

Python 3 - pull down a file object from a web server over a proxy (no-auth)

I have a very simple problem and I am absolutely amazed that I haven't seen anything on this specifically. I am attempting to follow best practices for copying a file that is hosted on a webserver going through a proxy server (which does not require auth) using python3. i have done similar things using python 2.5 but I am really coming...

Using oracle db through ssh tunnel. Error "ORA-12541: TNS:no listener"

Hello I've got a problem accessing Oracle DB from our datacenter through a tunnel. We've got a pretty standard datacenter with one machine being accessible from the outside (I put it's IP in the /etc/hosts file as dc) and the Oracle DB inside. The IP address of our oracle database on internal network is 192.168.1.7 To create a tunnel I...

Rewriting a tcp stream on the fly: how difficult is it? How about taking a dump of said stream?

I'm trying to write a tcp stream 'tunnel' (similar to the ones SSH handles by default) but with one exception, I have to rewrite certain information as it flows through. I'm certain there's something similar out there but I have not been able to find it. I have three main questions: Is there an easy way to save a tcp stream for obser...

How do I access a WebService through an SSH tunnel?

Hi all! Got a question. I'm sitting on a closed network, and I need access to a WebService out in the DMZ. The WebService is made available through a non-80 TCP port (let's call it 1234), which is blocked by the firewall of the closed network. I do, however, have SSH access to a server in the DMZ (let's call that one 'dmzhost'), so I t...