{
    "mode": "man",
    "parameter": "iptunnel",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/iptunnel/8/json",
    "generated": "2026-05-30T07:10:22Z",
    "synopsis": "iptunnel { add | change | del | show } [ NAME ]\n[ mode { ipip | gre | sit } ] [ remote ADDR ] [ local ADDR ]\n[ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ]\n[ ttl TTL ] [ tos TOS ] [ nopmtudisc ] [ dev PHYSDEV ]\niptunnel -V | --version\nWhere: NAME := STRING\nADDR := { IPADDRESS | any }\nTOS  := { NUMBER | inherit }\nTTL  := { 1..255 | inherit }\nKEY  := { DOTTEDQUAD | NUMBER }",
    "sections": {
        "NAME": {
            "content": "iptunnel - Create and manage IP tunnels\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "iptunnel { add | change | del | show } [ NAME ]\n[ mode { ipip | gre | sit } ] [ remote ADDR ] [ local ADDR ]\n[ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ]\n[ ttl TTL ] [ tos TOS ] [ nopmtudisc ] [ dev PHYSDEV ]\n\niptunnel -V | --version\n\nWhere: NAME := STRING\nADDR := { IPADDRESS | any }\nTOS  := { NUMBER | inherit }\nTTL  := { 1..255 | inherit }\nKEY  := { DOTTEDQUAD | NUMBER }\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "iptunnel can be used to add, change, delete and show IP tunnels on the machine.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "help   Show the help text.\n\n\nshow   List existing IP tunnels.\n\n",
            "subsections": [
                {
                    "name": "{ add | change | del } [ NAME ]",
                    "content": "Specify  an  action (add, change or delete an IP tunnel) to be executed by iptunnel on\nthe tunnel named NAME, which must be a string.  You must specify one action.\n\n"
                },
                {
                    "name": "mode PROTOCOL",
                    "content": "Specify the PROTOCOL to be used for the IP tunnel.  It can be ipip for TCP/IP, gre for\nCisco GRE tunnel (RFCs 1701 and 1702), or sit for IPv6-in-IPv4 tunneling.\n\n"
                },
                {
                    "name": "remote ADDR",
                    "content": "Set  the remote (i.e., destination) address of the tunnel.  ADDR must be an IP address\nor the word any.\n\n"
                },
                {
                    "name": "local ADDR",
                    "content": "Set the local (i.e., source) address of the tunnel.  ADDR must be an IP address or the\nword any.\n\n\niseq   Require that all incoming packets are serialized.  Only applicable for GRE tunnels.\n\n\noseq   Enable  serialization  (sequencing) for all outgoing packets.  Only applicable for GRE\ntunnels.\n\n"
                },
                {
                    "name": "ikey KEY",
                    "content": "Specify the input key for the Cisco GRE tunnel.  KEY must be  either  in  dotted  quad\n(dotted decimal) or a number.  Only applicable for GRE tunnels.\n\n"
                },
                {
                    "name": "okey KEY",
                    "content": "Same as ikey, but set the output key instead.  Only applicable for GRE tunnels.\n\n\nicsum  Require  that all incoming packets have the correct checksum.  Only applicable for GRE\ntunnels.\n\n\nocsum  Calculate checksums for all outgoing packets.  Only applicable for GRE tunnels.\n\n"
                },
                {
                    "name": "ttl TTL",
                    "content": "Specify the Time-To-Live value for the IP tunnel.  TTL must be a value between  1  and\n255,  or  the  word  inherit, which causes the field to be copied from the original IP\nheader.\n\n"
                },
                {
                    "name": "tos TOS",
                    "content": "Specify the Type-Of-Service value for the IP tunnel.  TOS must be a  value  between  1\nand 255, or the word inherit, which causes the field to be copied from the original IP\nheader.\n\n"
                },
                {
                    "name": "nopmtudisc",
                    "content": "Disable Path MTU Discovery on this tunnel.  Note that a fixed ttl is incompatible with\nthis option.\n\n\ndev PHYSDEV\nBind the tunnel to the device PHYSDEV.\n\n"
                }
            ]
        },
        "HOMEPAGE": {
            "content": "",
            "subsections": [
                {
                    "name": "<https://sourceforge.net/projects/net-tools/>",
                    "content": ""
                }
            ]
        },
        "AUTHORS": {
            "content": "This  manpage was written by Sergio Durigan Junior <sergiodj (at) sergiodj (dot) net>.  A few\nparts were inspired by ip-tunnel(1)'s manpage.\n\n\nPermission is granted to copy, distribute and/or modify this document under the terms of  the\nGNU  General  Public  License,  Version 2 or any later version published by the Free Software\nFoundation.\n\n\n\nFebruary 2018                               version 1.60                                 IPTUNNEL(8)",
            "subsections": []
        }
    },
    "summary": "iptunnel - Create and manage IP tunnels",
    "flags": [],
    "examples": [],
    "see_also": []
}