Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tunnel]

Tunneling is the act of encapsulating one protocol inside another.

1
vote
1answer
34 views

Re-Route network calls to multiple domains through SSH tunnel in windows 10

I have the following situation: There are some hosts that are only accessible through an ssh tunnel. Lets say its https://example.com https://other.com I can establish the SSH tunnel and bind the ...
0
votes
1answer
43 views

Tunneling through private OpenVPN on port 53

To bypass restrictions of open HotSpots, I've created my own OpenVPN server in the cloud listening on port 53. I was able to successfully tunnel through it while I was on a tethered connection through ...
0
votes
0answers
23 views

Connect to PC behind NAT444 using VPS + Reverse SSH Tunnel?

Okay, so it turns out that my crappy ISP put my computer behind a NAT444 so I can't access my home computer from outside anymore. I know, I could call my ISP (surely I'll get a no as response) or ...
1
vote
1answer
30 views

tunnel in macOS ssh using netcat

I am trying to find the alternative command for this ubuntu ssh tunnel script. Unfortunately, there is no nc.traditional on Mac as far as I know and looked. What could be the alternative for this ...
0
votes
1answer
25 views

Execution of a command locally after ssh tunneling and ssh connection staying in console

It's a continuation for question: Execution of a command locally after ssh tunneling". I have something like this: ssh -f -L 555:localhost:555 10.0.0.1 sleep 10 vncviewer However, in such case ssh ...
0
votes
1answer
27 views

SSH tunnel bind to domain

I have a working SSH tunnel that redirects my local calls from localhost:8080 to my remote machine on port 8080. Since I have a certificate for *.example.com, I am wondering if I could set up my ...
0
votes
0answers
96 views

Setup Proxifier(or alternative program)

So they installed an internet service in my university and now we can go to a class connect the ethernet cable and connect to the internet. Problem is, in order to access the web we need to connect to ...
1
vote
0answers
100 views

Tunnel Gre between two hosts (vps and dedicated server)

Hello guys i need to resolve this problem (all server have installed centos 7): i'm trying to create a gre tunnel through vps (in Italy - OpenVZ) and a dedicated server (in Germany), but they do not ...
0
votes
0answers
58 views

Tunnel a ssh tunnel through a unix socket and connect to it using ssh

Ok, the title might be a bit confusing so here's what I'm trying to achieve. I have multiple machines of types A that would connect to a server B. All machines of type A would have some kind of GUID. ...
0
votes
0answers
18 views

Unable to access Steam due to port blocks

I am on a restricted network. There are a set of LAN IP addresses which have full access of internet service and there are some another set of LAN IP addresses which have some ports blocked (...
0
votes
1answer
75 views

Create SSH Tunnel is not working with proxy

I have access to a server using SSH using the command line: ssh my-server with this .ssh/config file: Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa Host my-server ...
0
votes
1answer
32 views

Why does my TUN device not send UDP/IP to 192.168.2.x?

I've set up a TUN device on my host computer using this script: echo 1 > /proc/sys/net/ipv4/ip_forward #do NAT on packets from our 'local' net iptables -t nat --flush POSTROUTING iptables -t nat -...
0
votes
1answer
104 views

Force SSH server to always and only tunnel to telnet server

I have this structure: client ---> server(debian) ----> target target is a telnet server. I'm able to SSH from client to server and then execute telnet to reach target. How can I configure server (...
1
vote
2answers
323 views

How can I set in the bitvise ssh client, the tunnel automatic connect if open windows or restart windows?

Now the tunnel works if I open the bitvise application and click the login button. I want to change that. I want the tunnel automatic open if open windows or restart windows Where I can set the ...
0
votes
1answer
25 views

Site to site VPN tunnel to external company

I would like to set up an IPSec site-to-site tunnel between my company and an external company. (The external company does not support a dial-in mechanism, so I have to use a site-to-site VPN...) I ...
1
vote
2answers
751 views

Tunnel wireguard (or any UDP traffic) inside HTTPS

Wireguard is pretty hot these days, deservedly so. I'm also eager to replace OpenVPN by Wireguard. However, unlike OpenVPN, Wireguard only supports UDP. I like to use TCP port 443 because this port ...
2
votes
2answers
218 views

How does one forward a TCP connection (specifically MyQSL client-->server) through a multiple hop SSH tunnel?

I want to open a connection to a remote MySQL database. This database is in a private subnet on a different network, so I cannot directly open a connection to it. Remote SSH access is also ...
0
votes
0answers
54 views

Open port for reverse ssh tunnel

I have opened a reverse SSH tunnel from machine A (Windows) sitting behind a NAT to machine B (Ubuntu) on port 4000. I can access my service running on machine A from machine B at the address ...
0
votes
1answer
56 views

Connect to raspberry pi (non public ip via 4G/LTE) from an android phone (non puplic ip via 4G/LTE)

I have a raspberry pi running mariadb connected to a 4G/LTE router. I want to connect to mariadb from an android phone on 4G/LTE. As i only have a non puplic IPv4 IP Adress on the 4G/LTE router, i ...
0
votes
0answers
25 views

What is overall default with OpenVPN incoming connections - NAT or routed?

In my router's Tomato firmware at the setup of the OpenVPN client I have the option "Create Nat on Tunnel". As I understand it, this means that the outgoing VPN connection is NATed, just as the ...
0
votes
1answer
124 views

How can I set up a website through an ssh tunnel?

Suppose I have a small http server, running on something like a raspberry pi, and I want to share it with the world, but don't want to use port forwarding. Now, I know that this is possible using ...
0
votes
1answer
35 views

Managing tunneled SSH ports in Windows

I usually SSH into a cluster of machines and tunnel a large number of ports to the localhost for various web browser based services. However, the more the number of ports increases, the harder it ...
1
vote
1answer
428 views

How to create a transparent tunnel through socks on windows?

I want to make a tunnel - listen some fixed port on my local machine and every traffic it gets to be sent over SOCKS proxy (with authentication) to some specific fixed host&port behind that proxy ...
1
vote
0answers
384 views

“Connection reset by peer” in both Stunnel server and client side

I'm trying to establish a Stunnel link between to system; a Linux server and a Windows client. Stunnel server and client show in their logs that they can reach each other but then they show the "...
0
votes
1answer
279 views

Wireguard VPN Outbound and Inbound

I am trying to setup a Wireguard tunnel so that A uses the IP of B for outbound and inbound traffic (like a proxy, not a std VPN config). Both boxes are Ubuntu 16.04. A is eth0, behind a router with ...
0
votes
1answer
131 views

6in4 tunnel on Debian 9

I have a VPS that has a /64 IPv6 address block assigned to it. I'm trying to deploy a 6in4 tunnel from my pfSense router at home and be able to access IPv6 addresses through that tunnel. I'm ...
0
votes
0answers
61 views

FiddlerCore: HTTP Tunnel Issue

I have an application, and I am trying to intercept its requests with FiddlerCore. Using Fiddler, I see the requests as follows: (HTTP CONNECT tunnel into HTTPS request) When using FiddlerCore, I ...
0
votes
1answer
58 views

SSH Tunnel from Work local server to Home computer

We have server at the office that I can access it only from the local wifi just by ssh into it: ssh@192.168.111.111 . Also if I type 192.168.111.111 in the browser, it will show me the phpmyadmin ...
1
vote
0answers
71 views

Autoconfigure link-local IPv6 address on GRE tunnel in Linux

I don't see how to get Linux to automatically configure a link-local IPv6 address for a GRE tunnel endpoint, even though it seems to have that ability since 2011. Here is the transcript. The 10.10.10....
0
votes
1answer
33 views

Assign a remote server's IP to another server location

How we can assign a remote IP address to another server? I have a VPS in Germany (Mikrotik RouterOS installed) and it has a valid IP address, And in other side in Italy, I have another server which ...
1
vote
1answer
66 views

How to detect orphaned Unix socket files?

I have created a reverse SSH tunnel that creates a UNIX socket on a distant server (let's call it proxy_srv), so that I can connect the tunnel owner (named target_srv in the rest of this question) in ...
0
votes
1answer
36 views

Port forward traffic from restricted network with home unrestricted

Here is the scenario: I have an enterprise e-mail whose SMTP server listens on port 2525. I can configure an e-mail client like thunderbird in my home without any problem. I also have another job, ...
0
votes
1answer
133 views

multi-hop tunnel in the background; killing local tunnel does not kill remote tunnel

Multi-hop tunnel: I am opening a tunnel to a remote server via a jump server. ssh ${JUMP_HOST} -l ${JUMP_HOST_USER} -L ${PORT}:localhost:${PORT} \ ssh ${REMOTE_HOST} -l ${REMOTE_HOST_USER} -L ${...
2
votes
0answers
303 views

Poor mans VPN over UDP on Windows without Admin privileges

I'm administrating a small network and have a couple of users that would like to connect to local resources from e.g. their work PC or home. I cannot assume that they have admin privileges (on their ...
0
votes
1answer
135 views

ssh tunnel between two servers with keys

I have two servers, A and B, using two different keys. I work on server A, and need to transfer files to server B. But I have trouble transfer the files, because of the server connection refused when ...
0
votes
1answer
49 views

i see masqeraded ping from ipsec tunnel on OpenVZ vps wan interface, but it did not going out

I have fully working ipsec tunnel: Windows7_lan_mashine -> VPS_IPSEC (OpenVZ virtual machine) i can ping VPS_IPSEC from Win7, and can ping Win7 from VPS_IPSEC Now i try ping my second internet ...
1
vote
0answers
1k views

nginx port forwarding / ssh tunneling

I have a computer (let's call it A) on a local network with no static IP address accessible from the outside. (SSH port AAAAA) A has a webserver that I want to be able to access from the outside I ...
1
vote
1answer
430 views

how to run a tunnel in the background as part of a shell script

I run these two commands all the time to connect to my rds instance on aws that's protected behind a firewall (so i tunnel through the ec2 instance) like so: command 1: open the tunnel (run on ...
0
votes
0answers
188 views

How to route packets from an incoming tunnel interface (l2tp) to the internet?

I'm trying to set up tunneldigger for tunneling traffic from an OpenWRT router to one of my dedicated servers. The tunnel itself seems to establish properly, but packets aren't routing as I expect ...
0
votes
0answers
179 views

configure bitvise ssh server for port forwarding (ssh tunnel)

I remember to setup an ssh tunnel, it requires to enable the "GatewayPorts" and "AllowTcpForwarding" of sshd_config file on the linux host where ssh server is installed. I wonder do I need to do the ...
0
votes
0answers
225 views

How to connect to a home IPv4 server over the Internet using IPv6 to bypass Carrier Grade NAT

I am looking for a way to be able to connect to a legacy HTTP server that only supports IPv4 connection that is behind an ISP level NAT. My ISP does issue public IPv6 addresses and I am able to ...
0
votes
0answers
72 views

How to tunnel Laptop to my Computer outside of the LAN

I'm having a hard-time to understand how the SSH tunneling work. I've seen a guy who tunneled up to his remote computer located in his office from a laptop, and he used http://127.0.0.1:3388 to ...
0
votes
0answers
62 views

Android SSH Tunnel to home computer

I have a small vps that I'd like to use to SSH tunnel my connection from my android to my TightVNC server at home as need info/files from my home computer frequently (currently use a USB!). I connect ...
0
votes
0answers
56 views

Kali Linux - Windows 8 Tunnel Connection stopping?

i had some problems spoofing my mac address to use it in my own wifi network on windows and was looking for solutions. So i came across this thread: How to bypass first octet restriction for wireless ...
0
votes
1answer
246 views

GRE Tunnel to localhost

I am trying to use a GRE Tunnel (or TAP) to connect a local Linux network namespace light weight VM to the local HOST machine. It all appears to work except that replies from the host do not make it ...
1
vote
0answers
297 views

Tunnel Socks Proxy through Privoxy

I'm using Privoxy to tunnel a specified SOCKS5 Proxy through Privoxy. It works just fine. Is there any way to tunnel through multiple dynamic proxys just by setting up a single listening endpoint on ...
0
votes
1answer
36 views

how to tunnel using a specific protocol

I have an internet connection where the ISP has allowed a specific set of protocols such as facebook, youtube, H.323 Data, etc on my network which are unlimited. Is there a possibility which I could ...
2
votes
0answers
718 views

UDP over TCP, windows platforms

I have read: UDP traffic through SSH tunnel a number of times, but I don't think it directly answers this question: I am looking to forward UDP traffic (udp Port 8004): https://en.wikipedia.org/wiki/...
0
votes
2answers
721 views

Use SSH to Create an HTTP Proxy without browser

I am trying to reach an HTTP(S) website from my device's browser. My Device can get to that website only through a double SSH tunnel. Using this technique, I'm able to set up my Firefox browser to ...
0
votes
0answers
32 views

Is it possible for me to use an app tied to my IP address when I am away from my IP address without using TeamViewer?

I use a website app inside my company which has restricted use—for security reasons—to my home static IP address. Is there a way to “borrow” my home IP address on my laptop whenever I am away from ...