Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
84 views

I’m running a scenario with a host (192.168.222.1) and a virtual machine (192.168.222.130, interface ens33). On the VM, I have a Python program that creates a TUN interface (tunX) and, upon receiving ...
0 votes
1 answer
82 views

I am writing my own network stack following this tutorial. I reached the IP level, and I got stuck because I do not know which destination MAC address I should insert in the ethernet frame when the ...
1 vote
0 answers
91 views

My TUN device setup I have a simple program that creates the interface and logs every packet in Go (removed err handling for clarity): package main import ( "log" "github.com/...
1 vote
0 answers
88 views

I'm using lightway-laser, according to https://github.com/expressvpn/lightway-laser?tab=readme-ov-file#build-and-run-clientserver describe, I can start server, but when I use command scripts/...
0 votes
1 answer
130 views

I am trying to route my traffic via a tunnel interface between 2 servers. A cpp application creates a tunnel interface A on server A. A cpp application creates a tunnel interface B on server B. route ...
0 votes
1 answer
172 views

I want to create a dockerized Azure function that routes all the http traffic through an openvpn tunnel and switches the vpn connection config every X minutes. However openvpn in the container cannot ...
1 vote
0 answers
692 views

I've added instrumentation to my code: state.worker_stats.counters[TUN_TX]++; state_switch_activity(KERN_WRITE_TUN); ssize_t wrote = write(peer->tun_fd, plaintext, plaintext_len); ...
fadedbee's user avatar
  • 45.2k
0 votes
0 answers
909 views

I would like to create tuntap interace inside a pod because the main objetive of this is communicate two pods via tun interface (the apps that run there expect to communicate via tun interface). I ...
0 votes
1 answer
460 views

I am developing a VPN client on MacOS. My program creates a UTUN interface and an associated rule in the route table. Its purpose is reading packets sent to 44.10.0.0/16, doing stuff with them, then ...
2 votes
0 answers
746 views

I am trying to implement custom DNS resolver inside my Android(kotlin) application through the VPN service. I am basically intercepting the packets through TUN interface and resolving the queries ...
Kothai's user avatar
  • 125
3 votes
0 answers
528 views

I have a linux server who have an interface "tun0" which is a VPN connection and I want to start a proxy on it for listing eth0 but use tun0 to get internet. (default route on the server ...
Anthony's user avatar
  • 31
1 vote
1 answer
815 views

I'm using the Rust tun crate to experiment with the tun device. I'm writing a simple client/server setup where the client sends the server a message, the server reads the request and responds and ...
1 vote
1 answer
739 views

I'm trying to create a tunnel in C and im struggling to set its IP address up. I have an "invalid argument" error in ioctl with SIOCSIFADDR argument. Can someone explain me how to set up the ...
0 votes
1 answer
443 views

I want to create a tunnel between my computer (which is connected to the router via ethernet and runs on windows) and another computer in the same subnet. I chose WINTUN.dll for this purpose because ...
1 vote
0 answers
844 views

i am trying to open a TUN device and using ioctl with operation code TUNSETIFF and getting operation not permitted error. environment PRETTY_NAME="Ubuntu 22.04.1 LTS" $ docker --version ...

15 30 50 per page
1
2 3 4 5
...
10

AltStyle によって変換されたページ (->オリジナル) /