Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [tunnel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Routing all Traffic through a VPN Node while accepting incoming WAN Connections

I want to route all traffic through another VPN-Node, while: Keep the Connection to the VPN-Server active (already works) Still accepting WAN-Connections on that Client. My Client Node Configuration:...
user avatar
  • 321
0 votes
0 answers
7 views

disregard traffic in config file OpenVPN

i want to disregard the traffic of the openvpn config file. I want to when i connect to the tunnel , I stay in the default gateway without entering the tunnel
user avatar
0 votes
0 answers
42 views

How can I use APT through an SSH tunnel and a HTTP proxy?

I have a Debian Linux system inside a network isolated from the Internet. Lets call it SERVER-A. I can connect from my laptop with Windows 10 through SSH to SERVER-A. I also can browse the WWW from my ...
user avatar
-1 votes
1 answer
65 views

Using OVH VPS as a shield to dedicated machine

I am having a few dedicated machines in a few hosting companies which either do not offer DDOS protection or their protection is awful. I've been contacting a few hosting companies and friends and got ...
user avatar
0 votes
1 answer
384 views

Wireguard won't tunnel all traffic to server

I'm having a heck of a time getting WG to tunnel all my traffic back to the server. I thought it would be a simple one line process, but it isn't. I've installed the latest version, removed, ...
user avatar
0 votes
0 answers
15 views

route to non-connected gateway

I have: a linux box: 10.20.0.2 a gateway which I have no access on it: 10.20.0.1 a Fortigate: 10.10.0.1 I would like to provide internet to 10.20.0.2 through 10.10.0.1 I can't add a route since 10....
user avatar
  • 1,524
0 votes
0 answers
145 views

How to hide origin IP of SMTP server by tunneling/proxying incoming port 25 traffic to real mail server

We have most of our stuff behind Cloudflare. However, some services such as mail (ex: mail.mydomain.com MX record) cannot be pushed through cloudflare and they expose our mail server's IP which makes ...
user avatar
0 votes
0 answers
82 views

Configuring a VPN using Policy Routing on Zorin (Ubuntu 20.04)

A bit stuck here. Semi familiar with routing and semi familiar with linux. Just enough to be dangerous but apparently not enough to be dangerous enough. Hoping someone can point me in the right ...
user avatar
0 votes
1 answer
42 views

Issue with cross OpenVPN tunnels

I have the following network topology. I'm physically located at VPN Client 1. First, I successfully establish VPN Tunnel 1 and VPN Client 1 connects to VPN Server 2 and is able to talk to VPN Client ...
user avatar
0 votes
0 answers
36 views

Reach private subnets on secondary interfaces between GRE tunnel endpoints

I have two servers in different locations. Each server has an eth0 with a public IP (internet accessible) and an eth1 with a private IP connected to the internal network. Server A eth0: 1.2.3.4 (...
user avatar
1 vote
0 answers
114 views

Block IPv6 on Tun0

I'm setting up a VPN tunnel for some services. I created a vpntunnel/vpntunnel user/group that is routed to the tun0 interface based on the group ID. That works quite fine. Commands below run as ...
user avatar
  • 11
0 votes
1 answer
28 views

Allow access to webserver located in a LAN from remote server hosted at GoDaddy

I want to allow people to access a webserver located on acomputer in my LAN buy my ISP does not allow me to open any ports. I have a website hosted on a shared hosting that allows ssh access. Is there ...
user avatar
0 votes
0 answers
38 views

route packets from specific hosts to virtual device

PIMv2 I think the issue is with multicast. I want to create a GRE tunnel that supports multicast PIMv2. I am seeing the server sending PIMv2 Hello messages to my gre tunnel but my machine is not ...
user avatar
  • 1
0 votes
1 answer
173 views

Proxy/Route requests to subdomains to different local/wireguard IP addresses?

We have a virtual machine with a public IPv4 address, to which our example.com and *.example.com domain points. We have several distributed low-tech computers establishing a wireguard connection/...
user avatar
0 votes
0 answers
38 views

Tunnel IP address

I'm using Pantheon to host my website. The website is using some third-party service through API, and this service can allow only one IP address to access it. The issue is that Pantheon changing IP ...
user avatar
0 votes
1 answer
29 views

Cisco GRE routing semantics to ip_gre

I am reading this article about setting up a GRE IP Tunnel: https://packetpushers.net/anatomy-of-gre-tunnels/ There's a section about creating a GRE tunnel interface on router A R1: interface ...
user avatar
0 votes
0 answers
12 views

Add persistent bridge & tap Ubuntu 20.04 Server LTS [duplicate]

I'm trying to create a bridge whose interface is a tap, both with static IPs, and have them persist across reboots. In Ubuntu 14.04.6 LTS, this could be accomplished by editing /etc/network/interfaces ...
user avatar
1 vote
0 answers
1k views

Add persistent bridge and tap in ubuntu 20.04 server

I'm trying to create a bridge whose interface is a tap, both with static IPs, and have them persist across reboots. In Ubuntu 14.04.6 LTS, this could be accomplished by editing /etc/network/interfaces ...
user avatar
0 votes
0 answers
50 views

autossh : remote side connectivity fails while ssh tunnel still active

I'm trying to keep a tunnel using autossh, with the following command : autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 0.0.0.0:8865:localhost:8765 user@...
user avatar
0 votes
1 answer
189 views

SSH tunnel over multi hops using putty (two hops)

I have these config: Host with putty -- > Gateway A (port 22 open) --> FinalMachine (port 22 with gateway A open and port 18080 with apache). Like I don't have communication from Host with putty ...
user avatar
0 votes
1 answer
310 views

Can a VPN service be used like a reverse VPN allowing inbound traffic for serving a website?

I’ve done quite a bit of searching, and it seems this can be done, but the answers I seem to find are either vague or responses are something along the lines of “but why would you want to do that?” I’...
user avatar
  • 13
0 votes
0 answers
72 views

SSH tunnel HTTP/S, client connections stuck in FIN_WAIT2 status

I've set up a tunnel successfully between two servers, such that incoming connections on port 80/443 are forwarded to another server that is actually running the webserver. Further, I've used autossh ...
user avatar
0 votes
1 answer
71 views

Connecting two nodes, dynamic tcp connections tunneling through a central server

Conceptual system in my mind of what i'm looking for: Given two hosts (can be pcs) ! Both can be on dynamic network (dynamic ip)! Both connect to the same central server to find each other! (in my ...
user avatar
0 votes
1 answer
69 views

Can LACP run over Linux tunnel devices?

I'm looking for a way to know if a tunnel device is up or down without needing to use ping myself. Every single tunnel device (gre, ipip, l2tp, geneve, etc) does not have a logical mechanism to decide ...
user avatar
0 votes
0 answers
124 views

Pfsense GRE to Proxmox Openvirtualswitch gateway not going up

So, I run pfsense on Hetzner Cloud and proxmox on Hetzner Cloud. Both are VMs. The Hetzner network is very restricted. I found a solution: GRE tunnels. The following setup works: pve machine = 10.0.0....
user avatar
  • 1
0 votes
1 answer
759 views

Routing one machine's traffic through GRE tunnel to a remote NAT

I had to solve the following dilemma for a friend and thought I'd document how we did it here... Here's the situation: His home network 192.168.1.0/24 and it sits behind a Linux router that performs ...
user avatar
  • 109
0 votes
0 answers
133 views

GRE Tunnel subnet /29

I watched this tutorial: https://www.lowendtalk.com/discussion/156850/howto-tunnel-ddos-protected-ovh-ip-to-vms-in-other-datacenter And I have problems with the GRE tunnel, I created a VPS on server 2 ...
user avatar
1 vote
1 answer
692 views

Is there a way to reload new IPSEC certificates without restarting the service and interrupt existing tunnels?

I'm searching for a way to reload new IPSEC certificates without restarting the service and interrupt existing tunnel connections. As part of the activity, I'm replacing certificates (including ...
user avatar
  • 11
0 votes
1 answer
160 views

Use working GRE tunnel as default on remote server

Purpose is to "protect" my backend dedicated server (B) using a front VPS (A) with a GRE tunnel and use the the new stablished interface (GRE1) as default on (B) in order not to leak the ...
user avatar
  • 3
0 votes
1 answer
29 views

EdgeRouter Route Incoming Traffic to another Public Network/Server

I am curious if this is possible in theory? At my colo datacenter, I have a lot of public IP addresses (/21) on a 1GB circuit using an Edge Router 6P (not using BGP). I want to temporarily rent a ...
user avatar
0 votes
0 answers
124 views

A gre tunnel between Mikrotik and Cisco router

I really need your help I'm trying to connect a Mikrotik router with a Cisco router with GRE tunnel using Public IPS the problem is when I try to configure keep alive between both routers the tunnel ...
user avatar
0 votes
1 answer
205 views

How to forward all traffic and IP addresses

I want to build a system that allows me to have "floating IPs". To do this, I want to have a single server with 5 IP addresses. It then relays that traffic to another machine (or more) ...
user avatar
2 votes
1 answer
225 views

Programmatically open a SSH tunnel in active session?

I'm aware that after starting a new SSH session I can open the SSH shell to start a new tunnel (Enter then ~ and finally C): >ssh -L 9000:localhost:9000 Forwarding port. Is there a way to do it in ...
user avatar
0 votes
0 answers
135 views

IPSec Phase 2 Configuration For Translated Subnets?

I have two networks with the 10.0.0.0/8 subnet I'm trying to connect via IPSec tunnels. I have the phase 1 configurations working but am a bit stuck on the phase 2 configurations. Each firewall used ...
user avatar
  • 101
1 vote
0 answers
55 views

Is it possible to send traffic through the VPN tunnel to the VPN gateway itself?

I have a WAN interface X and a web server Y behind NAT, that is traffic to X:443 is being forwarded to Y:443. Web server is accessible from the internet without any problems. Then I have a site-to-...
user avatar
  • 111
0 votes
0 answers
25 views

Setting up a special tunnel

I live in a country with serious difficulties in accessing the free internet. Many sites are filtered, the speed in resolving host names is slow, bringing up web sites takes time, and you feel how ...
user avatar
  • 21
0 votes
1 answer
177 views

How should I create an IPIP tunnel between 2 OpenVPN servers?

I have 2 CentOS 7 servers which both of them have OpenVPN installed on them . I want my clients on the first server to be able to connect to the OpenVPN server and then I want their network traffic to ...
user avatar
  • 13
0 votes
0 answers
428 views

How can I accept IPIP connection in CentOS 7?

Guys I have a server with Mikrotik Router OS installed on it and there are some PPTP users using that server as a VPN server . What I want to do is to create an IPIP tunnel between this Mikrotik ...
user avatar
  • 13
0 votes
1 answer
103 views

Connecting with https to a server application on GCE VM through ngrok tunnel

I am observing a strange behaviour with ngrok on a GCE VM. I fire up a 'preemptible' VM instance with static external ip, and start ngrok on it normally. I get the URL that maps incoming https request ...
user avatar
  • 1
0 votes
1 answer
241 views

SSH tunnel without sshd in the middle

I have 3 machines A, B and C. I can ssh from B to A and also from B to C. B will not accept any incoming connections. There is no direct connection between A and C possible. Is there a way to ssh from ...
user avatar
  • 13
0 votes
1 answer
339 views

Tunnel Linux traffic to Windows

I have two servers. Windows and Linux. Let's say Linux has the IP 1.2.3.4 and Windows 5.6.7.8. I want all traffic to be forwarded to windows as a tunnel. If I connect with 1.2.3.4:329 I want to ...
user avatar
0 votes
1 answer
153 views

How to access a virtual server on a host from remote host

Support I have a host A with ip 9.21.118.35, in this host there exists a virtual server with ip 192.168.130.11 and virtual server expose port 31666. Then I want to connect to virtual server (192.168....
user avatar
  • 1
0 votes
1 answer
214 views

Sending Traffic Back To Clients Directly From IPIP Endpoint Tunnel While Spoofing Source IP

I made a C program on Linux (Ubuntu 18.04) that forwards traffic to another server via IPIP. When the IPIP endpoint sends replies back, the program also sends back the data to the client after ...
user avatar
4 votes
1 answer
647 views

Unsupported address method 'v4tunnel'

I'm trying to create a tunnel to HE.net to get an IPv6 address on my (cloud) server. When I created the tunnel and put this in /etc/network/interfaces: auto he-ipv6 iface he-ipv6 inet6 v4tunnel ...
user avatar
  • 143
-1 votes
1 answer
489 views

Netmask for point to point ip address?

In a point to point tunnel, I was able to have the same IP twice. It looks like a bug, I think that might be related to some internal representation of the netmask. It can be reproduced with the steps ...
user avatar
-1 votes
2 answers
1k views

VPN via middle/jump server

Here's the rough picture of what I'm trying to do: client -> |VPN| -> server A -> |VPN| -> server B -> Internet. Server A and Server B are both on public internet with public IPs, also ...
user avatar
  • 1
2 votes
1 answer
3k views

Use IPv4 on IPv6-only machine (through SSH tunnel?)

Our non-IT company uses a IPv4-only webservice which only allows access from our (whitelisted) IPv4 ip. This ip is assigned to one of our VPSes (this VPS also has a IPv6 assigned to it). We usually ...
user avatar
  • 23
2 votes
1 answer
302 views

How do corkscrew, proxytunnel and httptunnel set tunnels up?

I have been looking into utilities which enable tunneling (SSH or otherwise) through an HTTP proxy: corkscrew proxytunnel httptunnel I've not actually ever used any of them, though. It is not clear ...
user avatar
  • 1,623
-1 votes
2 answers
240 views

Connect two internal networks in one network

I have two servers A and B. Server A with device ens3 and address 10.1.0.171 and server B with device ens3 and address 10.1.0.253. I want to setup on server A and server B networks 10.2.0.0/24, up vm ...
user avatar
  • 65
0 votes
2 answers
2k views

Linux lightweight tunnels

Linux now support lightweight tunnels https://lwn.net/Articles/650778/ which means tunnel configured on the routes (so no need to set up one interface by tunnel). But unfortunately I did not manage ...
user avatar

1
2 3 4 5