iptunnel (8) Linux Manual Page
iptunnel – Create and manage IP tunnels
Synopsis
iptunnel { add | change | del | show } [ NAME ]
iptunnel -V | –version
Where: NAME := STRING
ADDR := { IP_ADDRESS | any }
TOS := { NUMBER | inherit }
TTL := { 1..255 | inherit }
KEY := { DOTTED_QUAD | NUMBER }
Description
iptunnel can be used to add, change, delete and show IP tunnels on the machine.
Options
help- Show the help text.
show- List existing IP tunnels.
{ add | change | del } [ NAME ]- Specify an action (
add,changeordeletean IP tunnel) to be executed byiptunnelon the tunnel namedNAME, which must be a string. You must specify one action. mode PROTOCOL- Specify the
PROTOCOLto be used for the IP tunnel. It can beipipfor TCP/IP,grefor Cisco GRE tunnel (RFCs 1701 and 1702), orsitfor IPv6-in-IPv4 tunneling. remote ADDR- Set the remote (i.e., destination) address of the tunnel.
ADDRmust be an IP address or the wordany. local ADDR- Set the local (i.e., source) address of the tunnel.
ADDRmust be an IP address or the wordany. iseq- Require that all incoming packets are serialized. Only applicable for
GREtunnels. oseq- Enable serialization (sequencing) for all outgoing packets. Only applicable for
GREtunnels. ikey KEY- Specify the input key for the Cisco GRE tunnel.
KEYmust be either in dotted quad (dotted decimal) or a number. Only applicable forGREtunnels. okey KEY- Same as
ikey, but set the output key instead. Only applicable forGREtunnels. icsum- Require that all incoming packets have the correct checksum. Only applicable for
GREtunnels. ocsum- Calculate checksums for all outgoing packets. Only applicable for
GREtunnels. ttl TTL- Specify the
Time-To-Livevalue for the IP tunnel.TTLmust be a value between1and255, or the wordinherit, which causes the field to be copied from the original IP header. tos TOS- Specify the
Type-Of-Servicevalue for the IP tunnel.TOSmust be a value between1and255, or the wordinherit, which causes the field to be copied from the original IP header. nopmtudisc- Disable
Path MTU Discoveryon this tunnel. Note that a fixedttlis incompatible with this option. dev PHYS_DEV- Bind 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.
