Questions tagged [tunneling]

384 questions
8
votes
2 answers

What is the difference between SSH and SSH Tunneling

As the title says, I don't really understand the difference between them. For example, if I connect to a specific server through SSH without tunneling I get the same shell as I get with tunneling.
newbie
  • 83
  • 1
  • 1
  • 4
7
votes
5 answers

Tunnel over UDP or TCP

Is there a way to create something similar to an IPIP or GRE tunnel only over UDP or TCP? I have a GRE tunnel between two servers and I noticed that sometimes it starts to drop packets. At the same time if I ping between servers over the internet I…
nicudotro
  • 1,551
  • 2
  • 13
  • 14
7
votes
2 answers

SSH VPN tunnel without having to enable root

I've been trying to setup a VPN SSH tunnel and I've had success executing ssh -Nv -w 0:0 root@192.168.2.2 -p 50 However, what I am wondering is, can I do the tunneling without having root unlocked? When I try ssh -Nv -w 0:0 $username@192.168.2.2 -p…
mayotic
  • 197
  • 1
  • 1
  • 6
7
votes
4 answers

How to tell if an ssh ControlMaster connection is in use

I'd like to use ssh's ControlMaster feature to share connections for speed increases. I'm trying to script it so that I can start/restart/stop a number of connections to different hosts. How can I determine whether any of these connections are in…
David Fraser
  • 406
  • 6
  • 12
6
votes
2 answers

reverse ssh tunnel listens on wrong interface

I'm working with a server that is behind a firewall. I have established an ssh tunnel to an intermediate server in the internet like this: remoteuser@behind_fw$ ssh -N -f -R 10002:localhost:22 middleuser@middle But I can't connect directly throgh…
jigfox
  • 173
  • 1
  • 6
5
votes
2 answers

How can I use Apache as a reverse proxy for https?

My company uses a CMS system hosted in the cloud. We want to create internally DNS-aliases to make it easier for developers to remember. Reading the documentation for mod_proxy_connect I do think it should be possible to do something…
rhellem
  • 295
  • 1
  • 5
  • 14
5
votes
2 answers

Curl through intermediate server

I need to send PUT/GET/POST request with curl through a custom port from client1 to server2. However, server2 only accepts these requests from server1, and denies client1 if connected directly. What would be the best way to tunnel curl requests from…
Arman
  • 165
  • 1
  • 1
  • 5
5
votes
2 answers

Differences between SSH's tunnels and OpenVPN

I discovered that recent OpenSSH has support for tun devices. When it comes to tunnels and VPNs, I always thought the main programme was OpenVPN. Are there any advantages to using SSH tunnels? What about security? Either one easier to set up?
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
5
votes
2 answers

How to Configure Secure Connectivity between Multiple Subnets

I have the following setup 2 x linode vps 1 x lab (physical) running 4 vps My goal is to make it so all nodes act as if they are on the same LAN. This will allow me to alter IPTable rules, to allow only local traffic, versus having to add a new…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
5
votes
2 answers

How to link multiple SSH tunnels together in Linux

I have the following situation: A -----|------ B -----|------ Work Work can SSH into B, and A can SSH into B, but apart from that everything is firewalled. What I would like to do is in effect create a SSH tunnel between Work and A so that I can…
yoda230
  • 191
  • 2
  • 7
5
votes
2 answers

ScreenOS ip6in4 tunnel over transport mode ipsec?

I have setup a point to point transport ipsec session between a ScreenOS router (SSG-5) and a Cisco 3925. The ipsec transport itself works great, but as soon as I try to direct the protocol 41 traffic over the transport, the packets don't transit…
Peter Grace
  • 3,456
  • 1
  • 27
  • 43
5
votes
4 answers

How do I set up a port forwarding through SSH?

I have a shell account (Debian) and I want all my localhost browser internet traffic to go through that shell account. I know how to configure the internet browser and how to configure Putty for port forwarding, what I do not know is what I need to…
Jim
5
votes
4 answers

Tunnel with least overhead

I'd like to tunnel a large amount of traffic from my local network to a server located in a datacenter, in a way that I don't have to make many changes to my local applications. The two methods that I have come up with are 1) using a VPN (openvpn),…
mikewaters
  • 1,175
  • 1
  • 14
  • 27
5
votes
2 answers

Multicast over SSH

I have two LANs: 10.x.x.x and 192.x.x.x. On each LAN I have a Linux machine (10.x.x.5 and 192.x.x.5) but they are not routers. I can open ssh from 192.x.x.5 to 10.x.x.5. There are multicast udp channels available for lan 10.x.x.x. Namely, I may…
Boris
  • 121
  • 2
  • 6
5
votes
2 answers

Linux Teamviewer functionality, but for ssh only

I need to access some Linux server behind NAT (no ports forwarded), so I need to have something like "phone home" like Teamviewer has. There is no GUI, but somebody can log in through SSH and dictate a password if it is changing (like Teamviewer).…
Icapan
  • 484
  • 1
  • 3
  • 9
1
2
3
25 26