Questions tagged [tunnel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
143 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
0answers
10 views

Packages from tunnel don't make it to application level

I have a tunnel to a partener created using racoon. In the last couple of weeks I had serious data losses through this tunnel (but not from any other sources). The start of these data losses coincide ...
0
votes
1answer
44 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
15 views

Route traffic to a LAN using openvpn client

I have been struggling lately with a problem which initially seemed pretty trivial. Here's my network topology HOST-A (Openvpn Server) tun0: 10.12.0.1 HOST-B (Openvpn Client - IP forwarding ...
0
votes
1answer
47 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
0answers
21 views

Linux gateway is forwarding traffic to its own gateway when tunnel down

I have a linux box (192.168.1.2) that connects to a VPN creating a tunnel. This box has a 192.168.1.1 gateway which is my router's internal address. The rest of my network has 192.168.1.2 (...
0
votes
1answer
82 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 ...
0
votes
0answers
21 views

Local SSH session with my OSX company laptop connected via VPN

is there a way to ssh to my osx in a following case: 1. osx with VPN (anyconnect) with one wi-fi intf 2. my local home network When osx is not in VPN, all works great, no issues. However, when ...
0
votes
0answers
15 views

UFW allow on any tunnel

Is there a way to configure UFW to use a tun connection with a wildcard for the tunnel id? e.g. This works: sudo ufw allow in on tun0 to any port 8888 but this doesn't sudo ufw allow in on tun* to ...
3
votes
1answer
156 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 ...
0
votes
1answer
66 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
2answers
208 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 I have root ...
0
votes
0answers
52 views

Source policy-based routing to couple of sit tunnels. Works only first one

At Ubuntu Server 18.04 I want to have this behavior: curl -6 --interface 2001:470:e09f::3 ifconfig.co/ip 2001:470:e09f::3 curl -6 --interface 2001:470:c160::4 ifconfig.co/ip 2001:470:c160::4 But,...
0
votes
0answers
55 views

Allow incoming connections from remote host connected via vpn

I have two nodes "VPS" and "Server". Server is only accessible via VPN, but I do not manage the vpn server of this organization. Therefore, in VPS, I use openconnect (vpn client) to connect to the ...
1
vote
1answer
717 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
1answer
98 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 ...
0
votes
0answers
105 views

Multiple virtual interfaces on top of GRE tunnel

I have a GRE tunnel defined on an interface: $ ip tunnel add ap2gre mode gre remote 10.1.0.1 local 192.168.1.2 ttl 255 $ ip tunnel ap2gre: gre/ip remote 10.1.0.1 local 192.168.1.2 ttl 255 $ ip ...
-1
votes
2answers
81 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
2answers
388 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 ...
2
votes
1answer
56 views

IPSec in IPSec with strongswan

I have server connected with remote LAN1 over IPSec tunnel. Now I want to setup second tunnel to LAN2 which is connected to router in LAN1, so I need to create Ipsec tunnel inside existing ipsec ...
2
votes
3answers
1k views

How can I route traffic over IPSec tunnel?

I have two sites: MAIN (local subnet 192.168.0.0/24, external IP: M.M.M.M) and CLIENT (10.0.0.0/24, external IP: C.C.C.C). I created an IPSec tunnel between the sites and both sites can ping computers ...
0
votes
1answer
213 views

Windows SSH Server - Disable Shell / Cmd access

I have enabled the SSH Server on Windows using the built-in feature. Since this server is only being used as a tunnel, I would like to disable any commands from being executed. On linux, it appears ...
0
votes
0answers
34 views

Ubuntu L2GRE tunnel with proxy or open vpn?

I have a question, topology looks like this: I need to put client into gre tunnel So, Client (access-point) supports only L2GRe and L2TP. I have to tak it in the GRE tunnel which is established ...
1
vote
1answer
163 views

aws ec2: ipip tunnel between instances via public ip addresses

Can anyone kindly tell me that it's possible or not in the first place? Suppose: There are two ec2 instances In one aws account/vpc. In different subnets/available zones each other. Runnig on ...
0
votes
1answer
27 views

Use OpenVPN connection the execution of one program

On Debian, is it possible to run an OpenVPN connection such that it is only used for the execution for one program? In other words: Other programs use network as normal Only the one program that is ...
1
vote
1answer
47 views

Reverse SSH two times from C to B and from A to B to shh from A to C

My hosts: A - windows WSL (can not install ssh in Windows, only in WSL) B - ubuntu 16.04, with sudo C - redhat 7, without sudo or root Then access I have: I can access B from A I can access B from ...
1
vote
1answer
1k views

Share internet from Windows machine to a Linux machine through ssh

We have access to a secure linux infrastructure through a Windows machine. The linux infra has no access to internet, but the Windows machine has. On this windows machine, we have installed putty, ...
1
vote
0answers
28 views

If an echo from tunnel interface IP is successful but an echo from the tunnel interface source fails, is that an outage with ISP?

Trying to track down an outage. Our Cisco ASR has a tunnel configured as IP: 100.64.#.# Source: 192.#.#.# (Amazon DX block, this address is also configured as a loopback on another interface) ...
1
vote
1answer
222 views

How to get reverse tunnel IP

I created reverse tunnel from Server to Endpoint using command: ssh -R 127.0.0.1:4000:localhost:81 user@server.domain Tunnel was created on Endpoint side and it leads from Server port 4000 to ...
3
votes
0answers
2k views

Run openvpn inside docker and use as gateway for internet for other networked devices

I am trying to run tunnel all my network traffic on my LAN via an OpenVPN client running inside a docker container. My router and default gateway is running on 10.10.10.1 I have OpenVPN running on ...
1
vote
0answers
82 views

Tunneling on Linux through VPN on windows host for yum

I need to upgrade and install some yum packages on remote server without internet access that's only accessible with a VPN client on a Windows host. Once this VPN connection is established the Windows ...
0
votes
1answer
299 views

Configure L2TPv3 on Ubuntu using hostnames for peers instead of IP

Is it possible to configure L2TPv3 using ip l2tp commands on Ubuntu 18.04 but using hostnames for peers instead of static IP addresses ? If so can someone give me a hint on how to do this ?
0
votes
1answer
203 views

IPTABLES not blocking EoIP Tunnel

So I decided to play with EoIP Tunnels today on two VMs which I installed free trial RouterOS on them. I set rules on iptables on the hypervisor (which is Proxmox) that prevents any input to vms ...
0
votes
0answers
68 views

VPN PPTP server

I'm doing a VPN PPTP server on this standard, now I have the following packages: Client -> Server: Point-to-Point Tunnelling Protocol Length: 156 Message type: Control Message (1) Magic Cookie: ...
0
votes
0answers
107 views

Routing between OpenVPN subnets in tunnel modes

Hope someone can help me and understand what is wrong in my setup. I have installed OpenWrt Chaos Calmer 15.05 on m TP Link router. The router have the WAN connected and a WiFi and wired subnet on ...
3
votes
1answer
1k views

How can i set the source port for SSH on unbuntu server? [closed]

I am creating a web challenge, and due to a firewall, i need to be able to set a static port for the SSH source port for it to go through the firewall. Is their anyway to do this using maybe netcat ...
0
votes
1answer
2k views

Wireguard VPN Outbound and Inbound

I am trying to setup a Wireguard tunnel so that A uses the IP of B for outbound and inbound traffic (like a proxy, not a std VPN config). Both boxes are Ubuntu 16.04. A is eth0, behind a router with ...
0
votes
0answers
1k views

VPN Tunnel - Crypto map policy error

Good day! GCP reports the following error: The peer gateway notifies: Proposal mismatch in CHILD SA (phase 2), Please look at peer logs. On the ASA 5505 side I'm getting: Map Policy not found for ...
0
votes
1answer
520 views

forward vpn server traffic to another server

I have set up 2 VPN servers in 2 different locations [ A:openvpn server(ubuntu) , B: PPTP Server-RouterOS Mikrotik ] What I want to do is to make A route all client traffic tthrough the pptp tunnel ...
1
vote
1answer
188 views

OpenVPN clients with same subnet connect to server

Is there any way at all to connect possibly hundreds of IOT devices that have the same LAN IP (192.168.1.1) to one OpenVPN server? The devices have openvpn client preinstalled. I've been told it's ...
0
votes
0answers
1k views

OpenVPN to connect to remote server on localhost at specific local port: “UDP: Can't assign requested address”

I'm trying to set up an openVPN locally to a remote server but bound to a specific port on localhost so I can route specific traffic through it. I'm using homebrew's openvpn and a node.js cli wrapper....
0
votes
1answer
721 views

SSH Tunnel - HTTPS hostname mismatch

I'm trying to view a https page on test12 server, from my MACHINE2, using a SSH Tunnel to connect to MACHINE1 which is on the same network as test12! But i can not display it. test12 = https server - ...
2
votes
1answer
659 views

Forwarding ports of OpenVPN-tunnel to LAN with IPtables on Debian

I'm connecting two Debian 9 x64 machines with OpenVPN: Server (ens3 public-ip x.x.x.222) tun0 10.8.0.1 -> Services: * Samba - udp137, udp138, tcp139, tcp445 * Webserver - tcp80 Client ens33 ...
1
vote
4answers
15k views

SSH Tunnel: channel 3: open failed: administratively prohibited

I have two servers, let's say server A and server B. I wish to use server B as an ssh tunnel so on server A I did this ssh -D 1080 root@ip It connects and as soon as I put in the server B as a ...
3
votes
1answer
1k views

No ping on IPSec tunnel with Strongswan

I have the following situation. The home network is on 192.168.1.0/24 and uses a Zyxel USG50 which is able to handle IPSec tunnels. The remote VPS runs Ubuntu 16.04 and hosts a PPTP server (10.0.0.1) ...
2
votes
0answers
405 views

l2tpv3 tunnel with local ip in vrf (linux kernel vrf)

On a ubuntu host I have two identical ip addresses configured on two interfaces enslaved to two different kernel vrfs. Here they are: mikle@LabHost:~$ ip link show vrf VRF1401 7: enp3s0f0.1401@...
0
votes
1answer
134 views

Connect directly to SSH tunnel without having to first connect to server?

I just setup my Raspberry Pi to create a remote SSH tunnel with a VPS I have. It works, so from my computer I ssh into my VPS (with something like 'ssh user@vps.com', and once connected to that I ssh ...
0
votes
0answers
120 views

OpenVPN not redirecting all traffic to VPN tunnel when local network is 192.168.x on both sides [duplicate]

I've setup a OpenVPN server using tun and udp and enabled the options for redirecting all internet traffic and pushing lan to clients. In the HOST NETWORK The OpenVPN Server is configured to dish out ...
1
vote
0answers
91 views

Linux Advanced Routing Use Remote Gateway On LAN

I am trying to route a remote gateway so it can be used on the LAN to assign public IPs from a remote network. I have partially succeeded with some hacking around but cannot fully achieve what I want....
0
votes
1answer
168 views

I cannot ping to destination IP even after adding a ip tunnel

So I have a virtual device with ip 192.168.16.15/24(device X). I'm trying to ping this from another device 10.64.95.120/24(device A). This virtual device(device X) is created on another server 10.64....