Skip to main content

Questions tagged [tunneling]

The tag has no usage guidance.

44 votes
4 answers
75k views

ssh into a server which is connected to a VPN service

I have a virtual private server, which I would like to run a web server while my server is connected to a VPN service When the VPN connection to my provider is not up, I can do anything I want with ...
Scott's user avatar
  • 483
5 votes
1 answer
3k views

Tunnel traffic through another machine over ssh

I want to be able to route a portion of my traffic through another machine over SSH. For example, is it possible to browse the web through the ssh tunnel and also browse the web through your LAN ...
Chris's user avatar
  • 8,610
168 votes
8 answers
286k views

Simple way to create a tunnel from one local port to another?

I have a development server, which is only accessible from 127.0.0.1:8000, not 192.168.1.x:8000. As a quick hack, is there a way to set up something to listen on another port (say, 8001) so that from ...
waitinforatrain's user avatar
7 votes
2 answers
16k views

Why are incoming packets on a TAP interface seen with tcpdump but not with iptables?

A program injects packets on a Linux TAP interface (these packets are coming from a virtual machine). Specifically, these are DHCP requests (so they're UDP). I can see the packets with tcpdump but not ...
Gilles 'SO- stop being evil''s user avatar
4 votes
1 answer
6k views

ssh tunnel on ssh tunnel between Windows and two Linux machines

I have the following configuration and want to establish a tunnel on a tunnel. I read already the following topic: How to put a tunnel in a tunnel? My configuration: Notebook --> Linux Server A --...
LStrike's user avatar
  • 227
4 votes
1 answer
1k views

"ssh -L <port>" only working from local machine

I mean if I've got something like this: ssh -L 9000:itc.ua:80 andy@localhost It will open port 9000 on my local machine and when I hit http://localhost:9000 in Firefox it will forward to itc.ua:80 ...
Andy O.'s user avatar
  • 91
31 votes
4 answers
65k views

What is the tun network interface for?

I noticed when running ifconfig that there is a network interface called tun0 and it has an ipv4 address. A bit of research shows that it is a tunneling device, but I don't really know how it's used, ...
smcg's user avatar
  • 473
11 votes
1 answer
11k views

What is this sit0 device?

I'm setting my computer (running Debian Buster) up for Hurricane Electric's IPv6 tunnel broker. They provide instructions for several configuration methods, but here's for iproute2, which I've been ...
Dominick Pastore's user avatar
8 votes
2 answers
16k views

apt-get via ssh-tunnel if only port 22 is allowed

I have a server which has only access to the outer world via port 22 (for the use of ssh from the server to other computers). I want to install some packages via apt-get on this server. Can I achive ...
erik's user avatar
  • 17.4k
3 votes
2 answers
3k views

VPN, one server, multiple clients

I wanted to know if it was possible to have a server running OpenVPN with server key and have multiple clients connect to it? I would like the server to be 10.9.8.1, the first client to be 10.9.8.2 (...
Noé Malzieu's user avatar
2 votes
0 answers
277 views

debugging iptables when tunneling one VPN through another

I seek to tunnel one SSL VPN (F5, running on my debian laptop==client) through another (OpenVPN, running on a debian linode==server), but lose all client networking (including, e.g., ping) after the ...
TomRoche's user avatar
  • 1,295
2 votes
1 answer
5k views

How can I mount a remote sshfs directory of an publicly inaccessible server on my inaccessible client machine?

This is an extension of the question by @Andrei How to mount remote SSHFS via intermediate machine? Tunneling? I'm in the same situation that I want to mount a remote directory, however the ...
Sebastian's user avatar
  • 8,857
1 vote
1 answer
2k views

Broadcast port to other computers after SSH reverse tunnelling

I have been reading on how to reverse tunnel and I am using this command: ssh -f -N -T -R25565:localhost:25565 dns.mindfulhacker.tk To forward my Minecraft server. My other server can connect to my ...
phonetic's user avatar
1 vote
1 answer
1k views

Reverse SSH works but not passwordless. Getting password prompt

I have two systems Personal MacOS Laptop to be referred as system-Laptop having user laptopuser. It does not have "NAT" Server Linux to be referred as system-Server having user serveruser ...
Ashar's user avatar
  • 511
1 vote
2 answers
3k views

Add default route without gateway nmcli

I'm trying to configure NetworkManager to perform the following action for an interface ip route add ::/0 dev he-ipv6 he-ipv6 is a point-to-point ipv4 sit mode tunnel and running the above command ...
Colton's user avatar
  • 253

15 30 50 per page