Questions tagged [tunnel]
Tunneling is the act of encapsulating one protocol inside another.
671
questions
0
votes
1
answer
26
views
How can cameras with RTSP like Tapo cameras be accessible from the outside?
I wanted to know how these cameras work when it comes to redirecting traffic outside the local area network (LAN) of your home. In other words, you connect them to your phone, configure them, connect ...
0
votes
0
answers
27
views
Deploying app on domain path using cloudflare tunnel
I have an app running on port and want to deploy it on the domain subdirectory, i.e. example.com/app. I'd like to use cloudflare tunnel for this, since I already route other apps with it.
I tried ...
0
votes
1
answer
26
views
Poor Linux IP tunnel performance
I'm attempting to setup a protocol 41 tunnel between 2 networks over the internet using the Linux ip6tnl interface. Running iperf between the 2 networks directly over the internet results in around ...
12
votes
1
answer
2k
views
How to modify this code to be able to SSH into my server?
I have a 18.04 Ubuntu server that I use to bypass internet filtering/censorship in my country using SSH tunneling. To do this, I have created several users using the command adduser USERNAME --shell=/...
0
votes
1
answer
42
views
Tunneling two different instances of LAN Syncthing via SSH
I have the following configuration:
Two Syncthing instances running on PC1 and PC2(home) respectively on LAN1 and LAN2(home). Following this guide i set "Sync Protocol Listen Addresses" ...
-2
votes
1
answer
60
views
what is the most stable and fastest tunnel for a VPN? [closed]
i live in Iran and is all u guys know our goverment is limiting the access to the internet and they are really getting serious about this.
so what the situation is right now : first of all we cant ...
2
votes
0
answers
133
views
I need a windows client for vless, vmess which supports firewall
I want to connect to the VMess protocol, and block all of the non-vpn traffics.
I try V2rayN and Nekoray, both proxy mode and TUN/VPN mode, but still can't block non-vpn traffic and one of the my apps,...
1
vote
0
answers
34
views
Obico Tunneling Nginx Configuration
ive got some problems with setting up obico tunneling as the documentation doesnt tell you how you need to configure nginx.
So you have following ports wich are for tunneling: 15853, 15854, 15855, ...
0
votes
0
answers
30
views
How to connect to local KVM guest via remote SSH tunnel to ssh
I try to set up a connection as follows:
ssh -f -N -L 5916:localhost:22 developer@192.168.100.210
developer@192.168.100.210's password:
It asks for a password , but the connection doesn't work.
nmap ...
0
votes
0
answers
28
views
Route only Foreign traffic via OpenVPN
I am running an OpenVPN Server via Softether on Ubuntu 22
I want to edit my client .ovpn config file so that the traffic going to servers hosted in my country bypass vpn and go direct (via domain TLD ...
2
votes
1
answer
247
views
How do I connect a corporate VPN client such as Pritunl (OpenVPN) through another VPN tunnel such as Mullvad (WireGuard)?
I'm on Windows 10 and 11. I use the Pritunl/OpenVPN client to connect to a corporate LAN.
At some point, the VPN stopped working. It won't connect. Maybe my ISP is blocking it, maybe my IP got ...
0
votes
1
answer
2k
views
Cloudflare tunnel and Remote Desktop with WARP client
I'm trying to use Remote Desktop with a Cloudflare tunnel and the WARP client, following the instructions on this page:
Connect to Remote Desktop through Cloudflare Tunnel
(Specifically, the section ...
0
votes
0
answers
30
views
How to minimize upload/download amount for a reverse SSH tunnel on a Raspberry Pi with Cellular Hat?
I have a Raspberry Pi with a Sixfab Cellular Hat that is behind a CG-NAT. I have set up a reverse SSH tunnel between my server and Raspberry Pi, but I noticed that the upload and download amounts sum ...
0
votes
0
answers
73
views
How to use SSH Socks Tunnel on internet traffics on all applications in Windows?
I'm using Putty for SSH tunneling and using Socks proxy on web browsers. But how can it be used on all my Windows 10 applications like: CMD (ping, tracert, etc.), VNC, Games & other internet based ...
1
vote
1
answer
116
views
Configure an IPv6 tunnel to use its routed IPv6 network
When creating an IPv6 tunnel with tunnelbroker.net, the Tunnel Broker service assigns you a client IPv6 address to be used on the router and a routed IPv6 network to be used by the systems in the ...
0
votes
0
answers
37
views
Server side SSH disconnect on SSH tunnel inactivity
I have a setup where clients connect to a server through an SSH -L tunnel.
The clients are supposed to close the connection if the are done using it (as the resources / ports are finite). But users ...
0
votes
1
answer
252
views
Password for Socks Proxy with SSH Tunnel
I need to have a socks5 proxy with an ssh tunnel with the following command:
ssh -p <SSH_PORT> -CnfND 0.0.0.0:<Port> Username@ServerIP
The question is how can I set a password for this ...
0
votes
0
answers
70
views
how do i set MaxStartups for specific user not whole system
i want to set MaxStartups for specific user in /etc/ssh/sshd_config
but I cant do something like that since "Match" doesn't support MaxStartups keyword :
Match User test
MaxStartups 1
0
votes
0
answers
294
views
Send an UDP packet through SOCKS5 proxy in windows with specified local port
As we know SOCKS5 support UDP.
So, how do I send an UDP packet to the UDP Server through SOCKS5 proxy with specified local port. Therefore, server will read source port of packet is same like local ...
1
vote
1
answer
422
views
Limit number of a user for ssh tunneling
i want to limit the ssh tunneling per user
I did create a user with only ssh tunneling permission ( no shell, no directory ) now I want to limit this user not be able to connect multi devices ...
0
votes
0
answers
33
views
Putty autoconnect when connection is down / or other ssh tunneling alternative?
I've been using putty to ssh tunnel into my server so i can directly print from a web application into a local net printer in my business, and everything works well, the only problem is, putty gets ...
0
votes
1
answer
59
views
Can I make my Mac's inet IP address static?
I previously used Ngrok, then scrapped that for LocalTunnel for a short while before discovering CloudFlare Tunnel. All these services help me do the same thing, that is, expose local servers I use to ...
2
votes
1
answer
494
views
Limiting SSH Tunnel users maxlogins
I've created a bunch of users on my Ubuntu VPS to do just SSH tunneling using this command: (taken from here)
sudo adduser someuser --shell=/bin/false --no-create-home
which works fine as expected. ...
0
votes
0
answers
81
views
Traverse Site-Site VPN for Internet on Mikrotik
Hello Mikrotik Experts,
I have configured a site-to-site IPSec VPN Tunnel between a Fortigate and a Mikrotik. The tunnel works. I can ping devices on either side of the tunnel. My basic config is as ...
1
vote
1
answer
200
views
How to create multi hops SSH tunnel using PuTTY?
I have 5 VPS , I use jump command in OpenSSH to connect from My_Pc to VPS_5 .
My_PC ==>VPS_1 ==>VPS_2 ==>VPS_3 ==>VPS_4 ==>VPS_5 ==>Internet
ssh -D80 root@VPS_5 -J root@VPS_1,root@...
0
votes
0
answers
58
views
ssh tunnel w/pem files, error found: No credentials were supplied
I reach a node via ssh in two steps. This is:
[carbajgu@fedora ~]$ ssh -i ./key.pem adouser@10.30.147.53
Activate the web console with: systemctl enable --now cockpit.socket
Last login: Sat Jan 7 00:...
0
votes
1
answer
140
views
Remotely access pc behind firewall from my dynamic-ip pc via a static-ip VPS
I am not sure what is the term for what I want to do, and how secure it will be, but here is the setup:
I have full root access to workpc only physically when at work. It is behind a firewall which I ...
0
votes
0
answers
56
views
Can FiOS router operate a tunnel?
I'd like to link up two locations with a secure tunnel.
On one side the router is running DD-WRT, which supports Ethernet over IP (RFC 3378), Wireguard, and MicroTik tunnels.
On the other side is a ...
0
votes
1
answer
87
views
How can I fix this issue of mismatching IP addresses when using WireGuard tunnel?
I have set up a WireGuard tunnel between my EC2 instance to my home PC.
I am serving a PHP app on a VM on my PC with nginx via IP 10.0.0.100
The WireGuard tunnel IPs are 10.8.0.11 for the EC2 instance ...
0
votes
1
answer
141
views
Connect to (virtual) network adapter on other computer via domain LAN
I have a virtual linux machine (192.168.0.100) running on a Windows 10 Test PC. This exposes a (virtual) network adapter (192.168.0.99). From my Windows 10 development PC (IP-Address a.b.c.d), I would ...
0
votes
0
answers
20
views
Openvpn to L2TP
My VPN provider only supports IKEv2 or OpenVPN protocols, On my cheap routers we only have clients for PPTP or L2TP.
Is there a way I can set up a VPS which conencts to OpenVPN and then pipes that out ...
0
votes
1
answer
55
views
SSH Tunnel via crontab with 2FA gives EOFError
I'm trying to setup a crontab which opens an ssh tunnel. Unlike other questions here and on stackoverflow, the server I'm connecting to has a 2FA which prompts the user for a password. However, I don'...
0
votes
1
answer
175
views
PuTTY ssh tunnel through a range of ip addresses
okay this is a dumb question but, is there any way to tunnel multiple ip addresses through a port in a ssh tunnel?
the scenario is the following: i have two POS lan printers (192.168.0.114-115), ...
1
vote
1
answer
4k
views
Any alternatives to v2rayN that tunnel the entire traffic on windows?
I'm not a specialist, just an end user with almost no knowledge about networking.
Whenever I use v2rayN on my laptop and connect to a server, only the traffic of my web browsers is tunneled through ...
0
votes
1
answer
2k
views
Tunneling between two servers to use the Internet of the second server by OpenVPN or SSH
I'm from Iran and our international Internet is being shut down , so we are going to lose our connection to the world .
VPNs are getting blocked one by one .
Tor Network is block and bridges do not ...
0
votes
0
answers
122
views
SSH tunneling through 2 server
I have 2 server
server1: 192.168.1.1 ==> ssh port 2233
server2: 192.168.1.2 ==> ssh port 2233
server2 has the internet and I can access server2 only from server1. I know how to dynamic ssh ...
0
votes
1
answer
257
views
ssh tunneling public key error
I'm trying to setup ssh port tunneling. I am setup with my public key on the remote machine. I can login to the remote like this...
ssh <name>@<address>
No problem.
I'm trying to forward ...
0
votes
1
answer
251
views
How to make an localhost tunnel not expired after a long time idling?
Currently I am trying to configure for a tunnel to stay alive aka. ssh.localhost.run after idling for a while.
I have do some research and find out this type of ~/.ssh/config file like this:
Host *
...
0
votes
1
answer
268
views
Strongswan ipsec tunneling between two VMs
I am very new to VPN and IPsec tunneling. I have two VMs between them I need to establish IPsec tunnel by using pre-defined PSK key or provided certificate .pem.
I have installed strongswan-5.9.6-1....
0
votes
0
answers
143
views
Tunnel openvpn ports
I have two VPS with Linux Ubuntu 18.04 OS,
One in our country with limited internet = VPS_1
One in EU with full access internet = VPS_2
I want to create OpenVpn server on VPS_2 and Forward OpenVpn ...
2
votes
1
answer
231
views
How to tunnel one OpenVPN to another OpenVPN
How can I do this? I searched but did not find any thing related or at least light a fire in my mind what to do:
Me --> connects to OpenVPN server A --> Server A connects through another ...
0
votes
0
answers
79
views
How to add a SOCKS5 proxy over a GRE tunnel
Here is my network map:
host1(Ubuntu) host2(Ubuntu) hostN...
| (10.0.0.2) | (10.0.0.4) ...
| gre tunnel | gre tunnel ...
| (10.0.0.3) | (10.0.0.5) ...
remote host (...
0
votes
0
answers
40
views
Http-Tunnel with WoL-Feature
Due to the high Energy-Prices in Europe, i would like to put my Linux-Server (Ubuntu 22.04) for most of the time in hibernate-Mode.
I run some applications like Wordpress and Gitlab on this server and ...
2
votes
3
answers
2k
views
Is there a way to redirect DNS traffic to ssh tunnel
I am trying to get a barebone solutions similar to different smart dns proxies available .
Now I am able to get one part done, by using , ssh tunneling and creating dynamic forward.
host myserver
User ...
0
votes
0
answers
357
views
SSH tunnel to database server over multiple hops
SSH tunneling is easy to accomplish:
ssh -D1234 host
But we have a more specific infrastructure
Host 1 (Remote server placed in my company)
Host 2 (Local server inside Host 1 network)
Host 3 (...
1
vote
2
answers
996
views
IPv6 SSH Tunnel
I'm setting up a tunnel with ssh -w and I would like to route IPv6 traffic through it. The remote machine is a server on the Internet with several IPv6 addresses assigned
What I am doing is:
local# ...
0
votes
1
answer
119
views
Reverse autoSSH tunnel does not work
For some reason my autossh reverse tunnel does not work.
This is my command:
└─# autossh -M 12121 -N -f -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /root/.ssh/...
0
votes
1
answer
106
views
Strange limitation on single TCP/UDP connection with bandwidth limitation
I have a weird behaviour with connections from my house in Israel to my VPS or dedicated server in the EU.
A single connection TCP/UDP is somehow limited to around 400kbps for some reason. When using ...
0
votes
1
answer
1k
views
How could I tunnel multiple IP address through a Wireguard tunnel?
I am new to Wireguard and networking in general. I have two servers: one with a /24 IP block and little computing power, and another with lots of computing power but no IPs.
I am unable to reassign ...
1
vote
0
answers
285
views
Connect two ssh tunnels
I have 3 systems. Lets call them A, B and C.
I need to create a ssh tunnel from A to C. But there are some restrictions:
A can not connect to B
A can not connect to C
C can not connect to A
However, ...