Questions tagged [tunnel]
Tunneling is the act of encapsulating one protocol inside another.
691
questions
0
votes
1
answer
16
views
SSH / RDP Reverse Tunnel through intermediary
The problem I am trying to solve is how to establish SSH & RDP connection to a Linux machine that is behind a firewall, with a non-static public IP, and no port forwarding capability:
Customer ...
7
votes
3
answers
1k
views
SSH parameterized config entries?
I often setup port forwards with something like:
ssh -NL 1234:localhost:1234 MyHostName
The ports usually stay the same, but the remote changes. It would be nice if I could create SSH entries like:
...
0
votes
0
answers
25
views
Can Multiple Devices use the same VPN Tunnel IP?
I have a Cybera Firewall device that has a VPN Tunnel IP that Verifone uses to connect to the firewall to configure the Verifone Commander for Help Desk reasons. Can I use that same tunnel IP to have ...
0
votes
0
answers
31
views
How do I use Localxpose to SSH into a Raspberry Pi?
I want to SSH into my Raspberry Pi 4 when I'm away from home. I already have a Localxpose account, so I figured I would use that. I know I have my keys configured properly, since I can successfully ...
0
votes
0
answers
73
views
why wireguard PersistentKeepalive does not work?
I wireguard server and a single client have been setup on two VPSs to have a split tunnel in between, but every few hours, the client side connection stops and I have to restart the interface to ...
1
vote
0
answers
47
views
how to route ocserv traffic to wireguard split tunnel
I want to route ocserv traffic to wireguard split tunnel
here is the net flow
[ (ocserv client) ] =====> [ server A (ocserv + wg server) ] <===== [ server B (wg client) ]
Because wg protocol ...
1
vote
1
answer
245
views
Tunnel of public IPv4 subnet to local server using Bird and WireGuard
With Bird 1.6.8, I successfully announced a IPv4 /24 subnet, and I'm mostly using example IP addresses/subnets according to RFC 5735:
root@tunnel0:~# birdc show proto all vultr
BIRD 1.6.8 ready.
name ...
1
vote
0
answers
76
views
Windows Cannot Use SSH Tunnel Proxy
I need help getting to the bottom of an issue using an SSH tunnel as SOCKS5 proxy (127.0.0.1:9090) in Windows 11 22H2.
I can establish an SSH tunnel using WSL, Putty or the Bitvise (BTW great) client. ...
0
votes
0
answers
87
views
slow vpn tunnels speed on high speed network
I have some VMs with minimum network speed of 1G
I need to connect each VM via a split tunnel.
While the raw speed between VMs are 1G but over the tunnels , the speed is down to 10% of the max speed (...
0
votes
0
answers
41
views
redirect to PFsense IPsec tunnel endpoit which has public IP
I have got a working IPsec connection where the Remote subnet has a non internet IP address (105.x.y.z/25).
Trying to access this address of course leads to the public internet.
How can I redirect all ...
0
votes
0
answers
131
views
Accessing MySQL database through SSH tunnel
At the moment I can access a MySQL database by SSHing in terminal.
This prompts me for a passphrase for a key
ssh test-db01.somedomain.com
Enter passphrase for key '/Users/yourname/.ssh/path/to/key':
...
0
votes
0
answers
23
views
triple vpn tunnel to bypass vpn blocks
is it technically possible to setup a VPN tunnel (or port-forwarding,or any other ways) as illustrated with bellow picture ?
Assuming there is an restricted FW which even VPNs do not work plus "...
0
votes
1
answer
161
views
connecting to VPN server w/IPv6 address from client with IPv4
I'm a migratory bird with three locations. Each has an OpenVPN server with several uses: connect to devices on the LAN to update configs or troubleshoot, present a 'home' IP when making a purchase (...
0
votes
1
answer
49
views
Create certificates for self-hosted apps, for access within the LAN
I use Cloudfare Tunnel to access my apps form outside the network, but if I'm at home, I want to skip the tunnel, and access them directly using the same domain name and https connection as if from ...
0
votes
1
answer
123
views
VNC Connection to a remote host with reverse ssh tunnel
I have the following setup:
Raspberry Pi with no public IP address
Public "jumpserver"
Currently i have autossh running on the Raspberry to connect to the jumpserver.
Works without ...
0
votes
0
answers
121
views
Alpine linux as router - Hurricane electric/ tunnel broker 6in4 not routing packets to LAN
I'm trying to IPv6 working. I'm using alpine Linux as my router. So far I've go the tunnel up on my router. My router can ping6 ipv6.google.com and receives a reply.
I've set up router advertisements ...
0
votes
0
answers
175
views
Is it possible to create a UDP/TCP reverse gaming tunnel?
For reference, I don't have much experience in the routing/networking world. I have a gaming server hosted on my desktop running in Linux Ubuntu headless 22.04. it's running on a local IP something ...
1
vote
0
answers
129
views
OpenVPN traffic through TLS-enabled TCP connection
I have to obfuscate OpenVPN traffic. So I created a TLS-enabled TCP tunnel with socat, and I want to pass OpenVPN traffic through this tunnel.
Server:
sudo socat openssl-listen:443,cert=/home/ubuntu/...
1
vote
1
answer
661
views
How can I set up 6to4 on MikroTik and configure MTU to fix connection failures and update guix?
I set up a 6to4 SIT tunnel on MikroTik following the example for Hurricane Electric in the MikroTik help files.
It worked, but the connection to some resources was painstakingly slow and often timed ...
0
votes
1
answer
595
views
How to set-up VPN chaining
I have a machine with 2 VPN clients:
ExpressVPN, using OpenVPN, set to connect to a server in country A.
Wireguard, set to connect to a server in country B.
Currently, both configurations / clients ...
0
votes
0
answers
59
views
Multihop ssh tunnel/proxy
I am trying to set up an ssh tunnel/proxy configuration to enable me to reach a private API so that I can test it.
The API is hosted in AWS API Gateway and is configured by design to be reachable only ...
1
vote
1
answer
89
views
How to terminate a Cisco WebVPN Smart Tunnel?
I am a user, not an admin. I am using a Cisco WebVPN webpage where I can start my Smart Tunnel and then access to internal resources via Remote Desktop. The connection works fine. However the "...
0
votes
1
answer
144
views
Getting sshd to use a proxy when tunneling with SOCKS5
I have a setup (which I cannot change), in which I need to a access a webserver from my local machine. I don't have direct access to the webserver. It is only accessible from a proxy. The proxy ...
1
vote
1
answer
475
views
How do I route (send) mail through a WireGuard Tunnel when sending email from one of my self-hosted domains?
The Issue: Mail is not going OUT over the WireGuard tunnel.
The Question: How do I configure the mail server or pfSense to use the WireGuard tunnel when sending email from one of my self-hosted ...
0
votes
1
answer
541
views
How do I run a permanent tunnel in localxpose?
I am able to create a localxpose tunnel in ubuntu with this command:
:loclx tunnel tcp
but when I close my local connection to my server, the tunnel closes with it.
Is there a way to keep a tunnel ...
0
votes
1
answer
59
views
During SSL tunneling what IP address is seen by the destination server?
If I setup a SSL tunnel via a HTTPS proxy, what IP address will the destinations server see? Would it be the IP address of the client or the IP address of the proxy? Is there any point (e.g. during ...
0
votes
0
answers
556
views
wazuh agents cannot connect using cloudflare tunnel
I installed wazuh in docker on my synology which exposes the following ports:
0.0.0.0:1514-1515->1514-1515/tcp, :::1514-1515->1514-1515/tcp
On the same machine (also in docker) i am running a ...
1
vote
0
answers
395
views
How can I share my local mysql server/database to the cloud using cloudflare, so that, I can use that connection to connect to other applications?
I have created a tunnel in Cloudflare and connected it to my local pc. I can access my localhost via port 3508. Now, I want to make this database accessible over the internet as my accounting desktop ...
0
votes
0
answers
16
views
Occasional and Momentary Site-to-Site VPN Tunnel Failures
I just started managing a number of locations that have site-to-site VPN connections. Part of what I've been doing is going through the Sophos firewalls examining alerts, findings and incidents. While ...
1
vote
1
answer
529
views
How to bypass the vpn tunnel for a single docker container using nftables?
I am trying to come up with a solution to bypass the vpn tunnel in the incoming and outgoing docker container.
The VPN I'm using is Mullvad VPN and in the split tunneling section they have addressed ...
-1
votes
1
answer
352
views
How can i set up my SSH tunnel connection for run http request from local PC
My remote server have access to specific third party API. But my local PC doesn't. I can do third party http request from server nodejs backend:
await axios.post("http://111.111.111.111:8810"...
0
votes
0
answers
47
views
Split Tunnelling for Websites that has different Servers
Assume, In my router I have activated two packages. One gives me normal data and the other gives unlimited youtube access. If I use a VPN, it routes all traffics through it's server which will just ...
1
vote
1
answer
209
views
IPIP tunnel packets are not send
I have a VPS with an external IP say 40.40.40.40 and trying to create IPIP tunnel to it. Here is what I tried:
#create interface megatun0 to tunnel traffic through the host 40.40.40.40.
sudo ip tunnel ...
0
votes
1
answer
3k
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
207
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
293
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=/...
1
vote
1
answer
318
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
479
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
1
answer
2k
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
108
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
305
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 [email protected]
[email protected]'s password:
It asks for a password , but the connection doesn't work.
nmap ...
0
votes
0
answers
53
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
917
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
4k
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
40
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 ...
1
vote
1
answer
446
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
1
answer
744
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
321
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
1
vote
1
answer
1k
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 ...