Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
/* event_struct.h must be included first cause of LIST_HEAD macro used by libevent2 */
#include <event2/event.h>
#include <syslog.h>
#include <event2/event_struct.h>
#include <json-c/json.h>
#include <iwinfo.h> /* iwinfo library (package/libiwinfo */
@legale
legale / README.md
Created September 2, 2023 13:29 — forked from hkwi/README.md
Linux vxlan nat traversal example

This example shows vxlan nat traversal, using UDP hole punching.

         +---------------+
         | (node5) vxlan |
         +---------------+
                  | uplink
       +--------------------+
       | (node4) masquerade |
 +--------------------+