Skip to main content

Network Stack

When it is tun mode, lux run at the network layer. That's where network stack works.

tun --> network stack --> sys socket --> internet

There are two supported network stacks.

StackDescription
systemPerform L3 to L4 translation using the system network stack
gviosrPerform L3 to L4 translation using gVisor's virtual network stack