IP-FOU(8)

โœจ NAME โœจ

Hey bestie, this is the ip-fou page ๐ŸŽ€ It covers two things: Foo-over-UDP receive port configuration and Generic UDP Encapsulation receive port configuration (that's the ip-gue part) ๐Ÿ’–


๐Ÿ’… SYNOPSIS ๐Ÿ’…

ip [ OPTIONS ] fou  { COMMAND | help }

ip fou add port PORT { gue | ipproto PROTO  } [ local IFADDR  ] [ peer
        IFADDR  ] [ peer_port PORT  ] [ dev IFNAME  ]
ip fou del port PORT [ local IFADDR  ] [ peer IFADDR  ] [ peer_port PORT
         ] [ dev IFNAME  ]
ip fou show

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so the ip fou commands are how you create and delete receive ports for Foo-over-UDP (FOU) and also Generic UDP Encapsulation (GUE) ๐ŸŒธ

Foo-over-UDP lets you wrap packets of an IP protocol straight up inside UDP. The receiver figures out what protocol a packet is by looking at the FOU UDP port it came in on. Whatever protocol is configured for that port? That's the one it gets treated as ๐Ÿงš

Generic UDP Encapsulation (GUE) is a little different. It wraps packets of an IP protocol inside UDP and an encapsulation header. That header holds the IP protocol number of the packet inside, so it's giving extra info ๐Ÿ’œ

When you make a FOU or GUE receive port, you give it a port number with the PORT argument. If you're doing FOU, you also set the IP protocol number for that port with the PROTO argument โœจ You can pin the port to a local address or interface too: use the IFADDR argument for an address, or the IFNAME argument for a device ๐ŸŽ€ And if you want the port to be connected, you can set a peer address with peer IFADDR and a peer port with peer_port PORT ๐Ÿ’…

To delete a FOU or GUE receive port, use the delete command with the PORT. You can also include the local address/interface or the peer address/port, if those were set ๐Ÿซถ


๐ŸŽ€ EXAMPLES ๐ŸŽ€

๐ŸŒธ Configure a FOU receive port for GRE bound to 7777

# ip fou add port 7777 ipproto 47

๐Ÿฆ‹ Configure a FOU receive port for IPIP bound to 8888

# ip fou add port 8888 ipproto 4

๐Ÿงš Configure a GUE receive port bound to 9999

# ip fou add port 9999 gue

๐Ÿ’€ Delete the GUE receive port bound to 9999

# ip fou del port 9999

๐Ÿ‘‘ Configure a FOU receive port for GRE bound to 1.2.3.4:7777

# ip fou add port 7777 ipproto 47 local 1.2.3.4

๐Ÿ”— SEE ALSO ๐Ÿ”—

ip(8) โœจ


๐Ÿ’– AUTHOR ๐Ÿ’–

Tom Herbert <therbert@google.com> ๐Ÿซถ


๐ŸŒˆ That's the whole tea, bestie! This page was IP-FOU(8) from iproute2, dated 2 Nov 2014 ๐Ÿ’œ Go slay your receive ports ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from