Glorytun UDP on network namespaces

Dependencies

  • Install Glorytun or use the binary provided in repo

    Rename the glorytun binary as glorytun

sudo apt install iperf3

Usage

sudo ./start.sh

Testing with iperf

  • Server
sudo ip netns e h2 iperf3 -s
  • Client
sudo ip netns e h1 iperf3 -c 10.8.0.1  -b 20mbit -u

Topology

  • Host h1 with 2 interfaces is connected to switch s.
  • s is connected to router r.
  • r is connected to host h2 (which hosts the openvpn server)