IPTUNNEL(8)

๐Ÿ“ฆ
version 2.10 ยท 4 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐ŸŽ€ IPTUNNEL(8) ๐ŸŽ€

Okay bestie, this is the manual page for iptunnel, the System Manager's Manual entry that teaches you how to make, change, delete and peek at IP tunnels ๐Ÿฆ‹โœจ

โœจ NAME โœจ

iptunnel - Create and manage IP tunnels ๐Ÿ’–

๐Ÿ’… SYNOPSIS ๐Ÿ’…

iptunnel { add | change | del | show } [ NAME ]
  [ mode { ipip | gre | sit } ] [ remote ADDR ] [ local ADDR ]
  [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ]
  [ ttl TTL ] [ tos TOS ] [ nopmtudisc ] [ dev PHYS_DEV ]

iptunnel -V | --version

Where: NAME := STRING
       ADDR := { IP_ADDRESS | any }
       TOS  := { NUMBER | inherit }
       TTL  := { 1..255 | inherit }
       KEY  := { DOTTED_QUAD | NUMBER }

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Okay so iptunnel is literally the tool you use to add, change, delete and show IP tunnels on your machine. It's giving main character energy ๐Ÿ‘‘

๐ŸŒธ OPTIONS ๐ŸŒธ

  • help โ€” Pulls up the help text ๐Ÿงš
  • show โ€” Lists all the IP tunnels that already exist ๐Ÿ‘€
  • { add | change | del } [ NAME ] โ€” Picks the action you want (add, change, or delete) and aims it at the tunnel called NAME, which has to be a string ๐Ÿ’… You gotta pick exactly one action, no cap.
  • mode PROTOCOL โ€” Chooses the PROTOCOL for the tunnel ๐ŸŒˆ It can be ipip for TCP/IP, gre for Cisco GRE tunnels (RFCs 1701 and 1702), or sit for IPv6-in-IPv4 tunneling.
  • remote ADDR โ€” Sets the remote (aka destination) address of the tunnel ๐Ÿ“ ADDR has to be an IP address or the word any.
  • local ADDR โ€” Sets the local (aka source) address of the tunnel ๐Ÿ  ADDR has to be an IP address or the word any.
  • iseq โ€” Requires that every incoming packet is serialized ๐Ÿ”ข Only works for GRE tunnels.
  • oseq โ€” Turns on serialization (sequencing) for every outgoing packet ๐Ÿ“ Only works for GRE tunnels.
  • ikey KEY โ€” Sets the input key for the Cisco GRE tunnel ๐Ÿ”‘ KEY can be a dotted quad (dotted decimal) or a number. Only works for GRE tunnels.
  • okey KEY โ€” Literally the same as ikey, except it sets the output key instead ๐Ÿ” Only works for GRE tunnels.
  • icsum โ€” Requires every incoming packet to have the correct checksum โœ… Only works for GRE tunnels.
  • ocsum โ€” Calculates checksums for every outgoing packet ๐Ÿงฎ Only works for GRE tunnels.
  • ttl TTL โ€” Sets the Time-To-Live value for the tunnel โณ TTL has to be a number from 1 to 255, or the word inherit, which copies the field over from the original IP header.
  • tos TOS โ€” Sets the Type-Of-Service value for the tunnel ๐ŸŽฏ TOS has to be a number from 1 to 255, or the word inherit, which copies the field over from the original IP header.
  • nopmtudisc โ€” Turns off Path MTU Discovery on this tunnel ๐Ÿ™…โ€โ™€๏ธ Heads up: a fixed ttl doesn't play nice with this option.
  • dev PHYS_DEV โ€” Binds the tunnel to the device PHYS_DEV ๐Ÿ”—

๐Ÿงš HOMEPAGE ๐Ÿงš

<https://sourceforge.net/projects/net-tools/>

๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

This manpage was written by Sergio Durigan Junior <sergiodj (at) sergiodj (dot) net>. A few parts were inspired by ip-tunnel(1)'s manpage ๐Ÿซถ

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. Share the love, but keep it free ๐ŸŒˆ


Bestie, that's the whole tea โ˜•๐Ÿ’œ This page is from February 2018, version 1.60, so go slay your tunnels responsibly ๐Ÿฆ‹โœจ