Questions tagged [tunneling]

The tag has no usage guidance.

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

forwarding packets between two openvpn tunnel networks on the same host

I have two p2p tunnels to two different servers on a host, tun1 and tun2: (host is Ubuntu server 18.04) (Server 1: IP1) <--> (Host: IP0) <--> (Server 2: IP2) For tun1 to server 1 I have: ...
0
votes
0answers
28 views

Forwarding Traffic from TUN interface to XX

My setup is the following: I'm writing a program that creates a tun interface and writes raw (Layer 3) packets to that interface. For example a ICMP ping packet (to make things easy). Now i want to ...
0
votes
0answers
39 views

route traffic from internal ip pool to external PPTP interface

I have two VPS. All I wants is if an user connects to VPS A through IKEv2 , His Public IP Address must be shown as VPS B. So I have installed IKEv2 (Strongswan) on VPS A and PPTP on VPS B. The user ...
0
votes
0answers
27 views

Taking advantage of DDoS protection by tunneling traffic through a protected provider?

I'm looking to protect one public IPv4 address (let's call it Host A) that belongs to a dedicated server in a datacenter that has a somewhat lackluster DDoS protection. I have a high level theory ...
0
votes
0answers
97 views

IPSec client ubuntu 18.04 cannot establish connection

I installed all necessary packages but still cannot establish tunnel using IPSec protocol, what I am doing wrong? According to logs I can see that connection passes authentication, but cannot create ...
-2
votes
1answer
51 views

How to use public IPs from remote network in my local network

The image shows the current remote setup and proposed local network I have 2 networks at different locations. For your better understanding one network I named remote network and another is local ...
0
votes
1answer
36 views

Accessing local network from a different network using cloud server

I'm not sure if this title is correct, but I have an OpenVPN server on an AWS EC2 instance that I want to use to ssh into my local network machines when I'm on a different network. A simple method I'...
1
vote
0answers
119 views

How to force the server to set ppp0 and ppp1 for the specified VPN connections?

I have two different VPN connections on a server as below: The first connection from a mikrotik server (192.168.100.128 as the client) to the main server (192.168.100.99 as the host with ppp0). The ...
0
votes
1answer
147 views

preventing ipv6 packets from being generated when creating a gre tunnel

I have a veth device, each side of it is in a different network namespace on the same machine. I am creating a gretap tunnel over this veth. when setting the gretap device to up state I can see a lot ...
0
votes
0answers
88 views

Suppressing ICMP protocol 47 unreachable with userspace GRE implementation

For reasons that would require a lot of irrelevant context to explain, I'm handling GRE packets with a userspace process with a SOCK_RAW/IPPROTO_GRE socket. This is working fine, except that despite ...
1
vote
0answers
46 views

Linux: network inteface tunneling include states

I would like to implement network interfaces tunneling between two machines. I also need to synchronize the network interfaces states: Machine A: Machine B --------------------...
0
votes
0answers
1k views

AnyDesk TCP tunnelling port “closed” since Windows 10 2004

I connect to my company computer via AnyDesk. I have set up a TCP tunnel from local port 11111 to remote port 22, to have an SSH connection to the remote machine. This stopped working since I ...
0
votes
1answer
140 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
0answers
37 views

incomming connection from GRE tunnel is always in SYN_RECV state

I create a GRE tunnel according to this tutorial : https://community.hetzner.com/tutorials/linux-setup-gre-tunnel/ in base server (server A in tutorial ) i have BGP advertise . when i enable the ...
-1
votes
1answer
32 views

Best way to link two systems [closed]

I am trying to link two Ubuntu 20.04 servers together Server One is a cloud server with its own dedicated IP with DDoS protection and a hardware firewall. Server Two is a much higher performance ...
0
votes
0answers
305 views

Forwarding Home Game-Server through GRE Tunnel | Can't ping remote GRE IPs

I am having trouble routing my game-servers through GRE. I do not receive a ping from either side when pinging them. I can ping the local GRE interface; however, I cannot ping the remote GRE interface....
0
votes
2answers
103 views

How can I setup a dual SSH tunnel so that two machines A and B behind firewalls ssh into a central sever such that A can VNC into B?

I need to connect via VNC from my machine A to another machine belonging to my friend B. Both of us have no way to open incoming ports - ISPs do not allow tunneling unless you buy a static IP based ...
0
votes
1answer
20 views

How to tunnel private adress based on etc/host record?

I have machine A (MacOS), and Server B in private network (ubuntu). In etc/host on B I have something like: 192.168.63.123 abc.abc.com 192.168.63.123 abc2.abc2.com 192.168.63.123 abc3.abc3.com I ...
1
vote
2answers
623 views

Routing tun0 traffic through tun1 (double-hop VPN)

Goal: route all internet traffic from eth0 -> tun0 -> tun1 for double-hop VPN. Is the following routing table correct for that goal? $ ip route show: 0.0.0.0/1 via 10.8.1.1 dev tun1 default via 10....
0
votes
1answer
177 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 ...
0
votes
1answer
56 views

Install packages through a 2 ssh tunnels

I have the following scenario: Server_A : Host that needs to get packages installed Server_B : Host that it's used to connect to Server_A Server_C : Host that it's used to connect to Server_B ...
0
votes
0answers
30 views

Unable to change link-local address for tunnel with iproute2

I have a couple of HE sit tunnels on Ubuntu 18.04 box. Only first one works as expected and I suppose the reason is almost same link-local addresses (generated from same MAC). What I'm trying is to ...
1
vote
1answer
137 views

Tunneling between two servers [closed]

There are two servers in this network The first server benefits from censored internet The second server uses uncensored internet The client can only connect to the first server and connect to the ...
0
votes
1answer
46 views

Connecting to another server through squid

I have 2 servers A and B, I don't have access to B normally, but I can access B through server A. I want my http requests to be proxied through server B. If I set up squid on server B, I can't access ...
0
votes
0answers
73 views

ACK packet lost in GRE tunnel for IPv6 in IPv4

At home (79.1.1.156), my ISP doesn’t provide IPv6 so I’m connecting my server to an external server (95.1.1.126) that has IPv6 access via a GRE tunnel, with this simple setup: ip tunnel add gretun ...
3
votes
2answers
936 views

Linux GRE - ip tunnel vs ip link

Can someone please explain the difference between linux ip tunnel and ip link command when it comes to configuring tunnels (such as GRE, IPIP, or VXLAN)? I can see that I can configure a GRE tunnel, ...
0
votes
1answer
788 views

tun/tap works on incoming or outgoing packet?

When we create a tun virtual interface we use read and write to read and write packets from/into network stack. My question is when we use .read, we are actually reading outgoing packets (the packets ...
0
votes
1answer
152 views

what is difference between simple TUN and VPNs like PPTP and L2TP

In respect of VPNs and tunneling, as far as i know, TUN is a virtual interface works on network Layer 3 (IP packets), and is nothing more than a simple more likely UDP socket link in practice (I think)...
0
votes
2answers
321 views

How to create SSH tunnels

is it possible to achieve the following scenarios by using the SSH tunnels? My workstation --> jump server --> app server --> final resource (port 443) My workstation --> app server --> final ...
0
votes
1answer
289 views

GRE Tunnel Dies in 1 direction

I have built a GRE tunnel over tap0 interface between 2 Centos-7 hosts. I've done this via the following: Host-A: 10.0.10.5 Host-B: 10.0.20.5 On host A: ip tunnel add tap0 mode gre remote 10.0.20....
0
votes
0answers
46 views

Understand linux bridge tunneling configuration

I have a VPN software that creates a tap device connected to a bridge: $ brctl show vpnbr bridge name bridge id STP enabled interfaces vpnbr 8000.6630fabc3f2b yes tnl-2c5a50e $ ...
2
votes
2answers
9k views

How can I use Apache as a reverse proxy for https?

My company uses a CMS system hosted in the cloud. We want to create internally DNS-aliases to make it easier for developers to remember. Reading the documentation for mod_proxy_connect I do think it ...
2
votes
1answer
2k views

Failed to connect to host with RKE

I have the following cluster.yml file: nodes: - address: 172.16.20.22 user: rke role: - controlplane - etcd - worker When executing rke up, I get the ...
1
vote
2answers
275 views

dedicated tunnel between two data center?

I sometimes hear the word about dedicated tunnel between two data centers. Say there is dedicated tunnel b/w DC1 and DC2 . DC1-> DC1 ISP -------- Internet ------ >DC2 ISP --------> DC2 My ...
5
votes
2answers
9k views

OpenVPN persist-tun option - what's the point?

According the OpenVPN 2 Cookbook: The persist-tun and persist-key options are used to ensure that the connection comes back up automatically if the underlying network is disrupted. These ...
-1
votes
1answer
618 views

How to create a gretap tunnel between two AWS EC2 instances?

To create a tunnel between two machines connected to the same network, I can run the following commands: From host A: sudo ip link add gretap1 type gretap local HOST_A_IP remote HOST_B_IP sudo ip ...
2
votes
1answer
647 views

Tuning network interface for TCP over TCP in Linux

I'm porting a legacy embedded application to Linux. This application communicates with a remote server over a TCP connection using a proprietary protocol. In addition to the application specific ...
0
votes
1answer
72 views

Is it possible to create iface teaming/bonding over tunnel devices?

I have several physical NICs on one server which should be able to access peer server's physical NICs. I have ip-tunnel devices (currently set as GRE) between each pair of NICs. I'd like to team/bond ...
0
votes
1answer
722 views

Administration of multiple sites (tunneling) - MikroTik & NAT

I would like to ask you for your opinion. I need to find a secure way how to manage small remote sites where I have RBs. We have HQ, where is Kerio Control as a FW and a lot of small sites with ...
3
votes
2answers
8k views

Curl through intermediate server

I need to send PUT/GET/POST request with curl through a custom port from client1 to server2. However, server2 only accepts these requests from server1, and denies client1 if connected directly. What ...
0
votes
0answers
74 views

SSH tunnel for serving web sites from localhost

This is more question... When I do like this... I am able to serve my site to external IP of my VPS... ssh -L 8080:localhost:80 username@server.com How secure and is it okay to serve websites ...
0
votes
1answer
467 views

Linux GRE Tunnel: Remote Address parameter

The Linux GRE tunnel as two parameters, local address and remote address. Suppose I have two routers, the left one is outside of a NAT and right one is inside NAT, then I want to create a GRE tunnel ...
0
votes
2answers
1k views

SSH tunneling shows no response.

I am trying to ssh tunnel into this CTF box and this is the command I am using ssh -L 2020:127.0.0.1:5901 user@196.168.88.47 and to connect to the 2020 socket I use ssh -p 2020 root@127.0.0.1 ...
0
votes
1answer
535 views

Android OpenVPN disconnects the SSH tunnel

I want to tunnel my OpenVPN traffic through an SSH tunnel. I have An OpenVPN server behind a router running on port 4321 SSH server on the same machine on port 22 Router forwards ports to the server'...
0
votes
1answer
2k views

Access to IP Camera using VPN to Webserver for Public IP

I'm tasked with setting up access to IP cameras in remote construction sites in the Philippines. The internet access is provided via Ubiquiti Power Beam from the only supplier available in the area. ...
0
votes
1answer
953 views

Route one or multiple Public IPs via VTI over IPSec site-to-site tunnel

I successfully created VTI over IPSec Site-to-Site tunnel between my home router (UBNT Edgerouter) and dedicated server (Ubuntu 16.04) at OVH. I can route internal private networks of each sides via ...
1
vote
0answers
289 views

Linux routing issues with tun0

I am attempting to get hanstunnel (IP over ICMP) to work on my VPS I have: Ubuntu 16 VPS with: ens3 a.b.c.d (external ip) tun0 10.0.0.1 Ubuntu 16 VirtualBox with: enp0s3 192.168.1.1 tun0 10.0.0....
0
votes
1answer
331 views

IPv4 over IPv6 tunnel for HughesNet user

I have a client who wants to access cameras remotely via a HughesNET Internet connection. HughesNET using carrier grade NATting (CGN) for IPv4 and so does not provide their customers with publicly ...
0
votes
1answer
2k views

GRE Tunneling not working

i've been looking everywhere for a solution to this but have found really nothing. I was wondering if it is possible to forward ports such as 80 through an OpenVPN connection? I am using an OVH VPS ...
1
vote
1answer
351 views

OpenVPN connect to other servers in LAN

I have installed OpenVPN on a Ubuntu server and I have OpenVPN -client on my PC. I can connect from the client to the server with no problem (still have the same ip). How can I set up connection to ...

1
2 3 4 5
8