IPTUNNEL(8)
๐ 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 beipipfor TCP/IP,grefor Cisco GRE tunnels (RFCs 1701 and 1702), orsitfor IPv6-in-IPv4 tunneling.remote ADDRโ Sets the remote (aka destination) address of the tunnel ๐ ADDR has to be an IP address or the wordany.local ADDRโ Sets the local (aka source) address of the tunnel ๐ ADDR has to be an IP address or the wordany.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 asikey, 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 wordinherit, 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 wordinherit, which copies the field over from the original IP header.nopmtudiscโ Turns off Path MTU Discovery on this tunnel ๐ โโ๏ธ Heads up: a fixedttldoesn'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 ๐ฆโจ
๐ฆ where this page comes from
- debian bookworm: net-tools 2.10-0.1+deb12u2 ยท GPL-2.0-or-later
- debian trixie: net-tools 2.10-1.3 ยท GPL-2.0-or-later
- ubuntu jammy: net-tools 1.60+git20181103.0eebece-1ubuntu5 ยท GPL-2.0-or-later
- ubuntu jammy: net-tools 1.60+git20181103.0eebece-1ubuntu5.4 ยท GPL-2.0-or-later
- ubuntu noble: net-tools 2.10-0.1ubuntu4 ยท GPL-2.0-or-later
- ubuntu noble: net-tools 2.10-0.1ubuntu4.4 ยท GPL-2.0-or-later
- ubuntu questing: net-tools 2.10-1.3ubuntu2 ยท GPL-2.0-or-later
- ubuntu resolute: net-tools 2.10-2ubuntu1 ยท GPL-2.0-or-later
- ubuntu stonking: net-tools 2.10-2ubuntu1 ยท GPL-2.0-or-later
- Copyright (C) 2018 Sergio Durigan Junior <sergiodj@sergiodj.net>
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms