Questions tagged [tun]

81 questions
0
votes
0 answers

Testing a tun tunnel between an Ubiquiti edge router and a Linux Server

I am following the first example setup for OpenVPN which involves establishing a TUN tunnel. On the server I run: openvpn --ifconfig 10.200.0.1 10.200.0.2 --dev tun The ubiquiti Edge Router is connected to Internet in a LAN connection. In the…
M.E.
  • 124
  • 10
0
votes
1 answer

QEMU VM with tap interface sees all packages coming from hypervisor instead of real source IP

I have set up a very simple Hypervisor using Alpine Linux and my VM sees all traffic coming from the IP of the hypervisor. Which also means if fail2ban tries to block attacks, it always blocks the hypervisors IP How can I have the VM see the real IP…
Christian
  • 333
  • 7
  • 18
0
votes
0 answers

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 redirect those packets from the tun interface to my…
0
votes
0 answers

Attach a VM to a host TAP or TUN device

I'm working on a project whilst in lockdown in England, and I am hoping someone can offer some advice? I have a machine with 5 physical eth interfaces on Linux Mint, 20.04. All eth interfaces communicate as expected through firewalld and the world…
Bon
  • 1
  • 1
0
votes
1 answer

Unable to connect VPN client to OpenVPN server running Ubuntu 16.04.6

im a bit new to Linux and also rather stuck with this... any help here would be much appreciated... I am running Ubuntu 16.0.4 on my server and trying to connect a client to it but no luck. The client is not a device with a video connection or any…
Lewis
  • 1
  • 2
-1
votes
0 answers

Verify whether an OpenVPN client offers access to the Internet

My machine hosts 8 OpenVPN clients: I have the interfaces tun0, tun1, ... tun7. Each of these interfaces should offer Internet access. But sometimes some don't, because the VPN server loses Internet access itself. Is it possible to verify whether…
1 2 3 4 5
6