Questions tagged [tunnel]
The tunnel tag has no usage guidance.
208
questions
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:...
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
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 ...
-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 ...
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, ...
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....
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 ...
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 ...
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 ...
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 (...
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 ...
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 ...
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 ...
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/...
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 ...
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 ...
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 ...
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 ...
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@...
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 ...
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’...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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) ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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
...
-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 ...
-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 ...
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 ...
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 ...
-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 ...
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 ...