Questions tagged [tunnel]
The tunnel tag has no usage guidance.
87
questions with no upvoted or accepted answers
6
votes
0
answers
10k
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 ...
4
votes
1
answer
2k
views
Forward IP packets to tunnel device
I have created an tunnel device using
ip tuntap add dev tun0 mode tun user 0 group 0
I then assign it an ip address 192.168.0.1/22
ifconfig tun0 192.168.0.1 netmask 255.255.252.0
On my ethernet ...
3
votes
2
answers
1k
views
IPv6 IPsec between two native IPv6 networks
Assume I have two networks, A and B, on sites either side of the globe. Both have native IPv6 and are using (hypothetically) just IPv6. IPv4 no longer exists. They can both access the internet ...
2
votes
1
answer
98
views
WinSCP-like ssh tunnel in Chrome OS
For the Chrome OS, is there any equivalent to the SSH tunnel functionality seen in WinSCP?
At the destination, I need to tunnel from one machine via SSH into another for SFTP purposes.
Usually I'm on ...
2
votes
0
answers
208
views
How does a vpn route all traffic through it's tunnel but allow it's own traffic to go over the internet
TL;DR
I want all outgoing traffic from my system to be routed to a tun0 device, wrapped with DNS packets and then sent to the internet, but the DNS packets also gets routed back to tun0 device.
...
2
votes
1
answer
264
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
0
answers
805
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@...
2
votes
0
answers
198
views
IPv6 connectivity through IPv4 using OpenVPN
I've set up a Debian-based server at home, which handles dhcp and a bunch of other services. Unfortunately, even though the machine is capable of using IPv6, my ISP doesn't support it. I was wondering ...
2
votes
0
answers
1k
views
Xl2tpd + pppd tunnel persist error
The issue I am experiencing is based around a l2tp tunnel from a Raspberry pi3 to our radius server. If there is no response from the server for over a minuet the ‘ppp0’ interface made by xl2tpd gets ...
2
votes
1
answer
1k
views
GRE Tunnel in CentOS
How to create a GRE Tunnel in CentOS pointing all connections to server A for the server B?
I have a public server with DDoS protection and need to use this as a firewall to filter acess to the other ...
2
votes
0
answers
109
views
Route public subnet to client location
Due to the fact that my ISP introduced CGN/DSLite and I still need public IPv4 addresses, I was thinking about tunneling an unused /29 that I own from my server to my local Linux box.
After doing ...
2
votes
1
answer
1k
views
How to provide access to lan mysql DB from a remote server?
Consider the below network configuration:
A client connects with its workstation to the application server on the Web. The application is full HTML, so only browsing through HTTPS is enough to ...
2
votes
0
answers
2k
views
Site-to-site VPN between Azure Virtual Network and a Cisco RV016
I'm attempting to configure a Cisco RV016 router to connect to an Azure Virtual Network to create a site-to-site VPN, but it's not working.
I'm aware that a Cisco RV016 is not in the list of ...
2
votes
0
answers
186
views
Dynamic VPN tunneling technologies
Ok, so I'm asking a more specific question this time.
I'm writing a paper about Cisco's DMVPN and one of the tasks I have is to make the analysis of available network solutions which use dynamic VPN ...
2
votes
1
answer
568
views
How do I set up an ssh -w tunnel VPN between AWS VPC and a Linode?
I'm probably not going to use this for the long term, but I still want to know why this isn't working.
I've set up a simple ssh tunnel from my Linode instance to one AWS EC2 instance within my VPC. ...
1
vote
1
answer
708
views
Session Continually Times out when Accessing SuperMicro IPMI via Cloudflare Tunnel
I have a SuperMicro X12dpi-N6 motherboard system that is currently running Ubuntu 22.04 Server. In order to support remote maintenance, I configured a cloudflare tunnel that would allow me to access ...
1
vote
0
answers
122
views
Forward traffic server to another server with iptable and domain
I want to forward all traffic from server1 to server2 with domain
same:
sysctl net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to-destination IpServer1
iptables -t nat -...
1
vote
0
answers
75
views
Connection to Apache server dont pass from openVPN tunnel
I working with two VMs in virtualbox. Both of them are in one Subnet 10.0.2.0. On first VM I run client.conf and on other VM run server.conf and startup Apache Server. OpenVPN tunnel established ...
1
vote
0
answers
550
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 ...
1
vote
1
answer
1k
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/...
1
vote
1
answer
3k
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 ...
1
vote
0
answers
122
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-...
1
vote
1
answer
119
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
0
answers
35
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
0
answers
316
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 ...
1
vote
0
answers
2k
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 ...
1
vote
0
answers
214
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....
1
vote
0
answers
330
views
User-specific SFTP Tunnels
Basically, I have a couple differant Centos7 LAMP stacks running on differant virtual machines (on xenserver) & openSSH. I also have a couple intermediate proxy authentication servers running (...
1
vote
0
answers
1k
views
Ethernet over GRE bridging - Proxmox
I'm trying to install two proxmox on Online.net server's, and I just realized that their RPN feature doesn't work at all like the OVH vRacks.
Since I need the different VM's on both hypervisors to be ...
1
vote
0
answers
1k
views
Build IPv6 over IPv4 tunnel between server and home network
On one side I have an Ubuntu server in a data center that has IPv6 connectivity. The eth0 interface has a public IPv4 and also a public IPv6 /48. From that server I can ping IPv6 addresses OK.
On the ...
1
vote
0
answers
1k
views
Routing IPv6-traffic from client via OpenVPN-server
For playing and learning purpose i set up an OpenVPN-server. Im currently attached to a network without IPv6. Because of that, I would like to route all IPv6-traffic via the VPN. With IPv4 and ...
1
vote
0
answers
4k
views
IPSec tunnel not working when set up asynchronously
I'm trying to create a tunnel using StrongSwan. In order to do this, I'm creating two sh files, one for each gateway router. All I'm doing in the sh files is creating the tunnel, configuring it, and ...
1
vote
1
answer
3k
views
How to troubleshoot GRE tunnel issues?
I commonly run into issues where a GRE tunnel (CentOS server to server, not router based) works and pings fine from both ends but the IP / Range being tunneled does not function.
This almost always ...
1
vote
0
answers
784
views
Using TomatoUSB and OpenVPN to tunnel IPv6 traffic
Assume the following scenario regarding the current IPv4/OpenVPN setup:
Central Site with a /64 IPv6 (10.0.0.1)
| |
OpenVPN Server A OpenVPN Server B
...
1
vote
1
answer
434
views
Configure subversion to start SSH tunnel automatically for HTTP-only SVN server
We have an SVN server accessible with HTTP (and only HTTP) running on a firewalled port on our development system:
dev $ svn checkout http://localhost:1234/proj/trunk
On my workstation, I created a ...
1
vote
0
answers
2k
views
why ping6 fails if tcpdump shows ICMP6 request/reply traffic?
I'm having a very strange problem with IPv6 pings on OpenWRT (fon-ng firmware with IPv6 enabled) and hoping someone can help with investigation.
In short - wpan0 interface with address aaaa::1/64 is ...
0
votes
1
answer
83
views
cannot connect client to wireguard server in LAN
10k feet view
I want to connect my PC in LAN to a server in the same LAN using wireguard to use his services through a tunnel.
server conf
[Interface]
Address = 10.0.0.1/24
SaveConfig = true
...
0
votes
0
answers
202
views
Simple MySQL tunnel without SSL or SSH?
What I have
I have a MySQL database that allows whitelisting only 2 individual IP addresses. No other access to that server except a MySQL username and password.
What I need
I need to connect Google ...
0
votes
0
answers
434
views
Connecting squid to upstream proxy using CONNECT request
I'm setting up a reverse proxy that has to forward all the requests to a given url.com/resource. Now, that resource is behind a proxy, so it has to use the CONNECT request.
The idea is that squid, ...
0
votes
0
answers
110
views
ping reports not receiving any package while tcpdump logs echo replies
INTRO:
There's an IPIP tunnel (call it megatun0) to a machine connected to a private network. The megatun0 tunnel is bound with the address 192.168.15.1. One of the network interface on the machine ...
0
votes
0
answers
80
views
Why is there still traffic to destinations other than the peer address when a wireguard tunnel is active?
Backstory:
I've set up my firewall rules to prevent traffic from leaking outside of the wireguard vpn tunnel, because it happened before that the wg interface was active, but there was no active ...
0
votes
0
answers
557
views
Cannot get a local address when establishing tunnels using openVPN
I am trying to establish a tunnel with a remote server using openVPN, at the beginning everything went just fine, while a few days later the establishing process often failed (now it has a 100 percent ...
0
votes
0
answers
135
views
using putty and socat to run rust server behind firewalls
i want to run a publicly accessible Rust server on a windows machine behind some routers and firewalls. the idea is tunneling the local server ports to a public machine where they are accessable: rust ...
0
votes
1
answer
296
views
Can I tunnel all ports from remote server to 127.0.0.2 (for example), so work with it like with localhost
I have a remote server.
I started on remote server app that listen localhost only.
I want to tunnel this server to local ip like 127.0.0.2 and access this app through like I on remote server.
I need ...
0
votes
0
answers
711
views
Nginx and Cloudflare Argo Tunnel - 502 Bad gateway
I am using a Cloudflare Tunnel, along with a Nginx docker container, under the same tunnel network. I followed this guide to set up Nginx with Cloudflare. The goal is for me to be able to reach ports ...
0
votes
1
answer
204
views
No IPv6 connectivity on the router behind the NAT
I have the following scenario. My ISP does not provide IPv6. As common practice, I've created a SIT tunnel with Hurricane.
My network is the following.
WAN (eth0)
------------ router A
...
0
votes
0
answers
130
views
Windows 10 and OpenSSH to encrypt a local TCP port
I'm working on a Windows 10 machine. I wrote 2 apps: server and client.
Both of them communicate via standard TCP sockets, no encryption.
I installed OpenSSH, no certificates at the moment, just ...
0
votes
0
answers
49
views
send traffic from openvpn to IPIP tunnel
We have a network interface that is open to the Internet. (ens160) We created an ipip tunnel and it was established correctly as expected (we placed 10.10.30.1 <-->10.10.30.2 | mytun) then we ...
0
votes
2
answers
2k
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
241
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 ...