Skip to main content

All Questions

2 votes
0 answers
84 views

Cannot add a tunnel to /etc/network/interfaces

Note: I already checked this question and this question. The solution of the former is not relevant to my problem and the latter does not have any answers. I have a basic VPS from aeza.net. When I ...
Amirreza A.'s user avatar
0 votes
1 answer
240 views

Connect IPSEC VPN to network interface

I have a StrongSwan IPSEC VPN configured on my Ubuntu 22.04.4 LTS server. The VPN starts up and connects to the primary interface (eno1) successfully. Using qBittorrent, I bind to the IP Address that ...
furnaceX's user avatar
0 votes
0 answers
36 views

How to create a second GUE tunnel on a different port

How can multiple GUE tunnels be created in the same (default) network namespace with the same remote IP address, but different ports? So far, I've been successfully able to create exactly one GUE ...
randunel's user avatar
  • 101
1 vote
0 answers
39 views

Route through ppp0? [duplicate]

read carefully pls.. im connecting to another local network IN (overWAN) using q vpn (openfortivpn) to access that local network. i can ping the local hosts on that network.. i can scan em with nmap ...
redandwhite's user avatar
0 votes
3 answers
106 views

How to determine next available network interface name and ip range?

I am working on an application which can create TUN/TAP interface on host machine. I can create such interfaces using: sudo ip tuntap add tap0 mode tap Now the thing is, tap0 is hardcoded here. It ...
Santosh Kumar's user avatar
0 votes
0 answers
348 views

How to get and use packets coming to a tunnel interface?

I have created a tunnel interface in Linux and assigned an IP for its local and remote addresses. Then, I have created a route for that interface. I want to get the packets coming to that interface ...
D. Jones's user avatar
  • 101
11 votes
1 answer
11k views

What is this sit0 device?

I'm setting my computer (running Debian Buster) up for Hurricane Electric's IPv6 tunnel broker. They provide instructions for several configuration methods, but here's for iproute2, which I've been ...
Dominick Pastore's user avatar
0 votes
0 answers
39 views

Open VPN packets aren't going through tunnel

port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key dh dh2048.pem tls-auth ta.key 0 key-direction 0 server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt client-to-client push &...
user7386's user avatar
2 votes
2 answers
4k views

How to relay traffic from tun to internet?

I'm writing a program that sends data through a tun interface. I'm trying to send IP packets to the world. I have all the TCP/IP stack working: It creates a valid TCP/IP packet ready to be sent, I ...
Guerlando OCs's user avatar
3 votes
1 answer
17k views

How do I create a tun device for the actual physical network interface?

I am trying to make a C program that will create a tun device interface for my pc physical interface. The entire idea in doing is that when I write any raw packets on my tunnel device, it will put ...
dexterous's user avatar
  • 175
2 votes
0 answers
2k views

Replace ip tuntap by /etc/network/interfaces (or how to create a tun interface in /etc/network/interfaces)

I'm using a sh script (pasted below) to create an IPv6 tun interface using iproute with the tun mode. #!/bin/sh # Create a new TUN interface for WPAN interaction. ip -6 tuntap add mode tun tun0 # ...
gromain's user avatar
  • 142
15 votes
1 answer
37k views

Understanding tun0 addresses

I have already done some searching and more or less understand what a tun0 interface does. I got the following from various sources, Packets sent by an operating system via a tun/tap device are ...
Masroor's user avatar
  • 305