[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 3

imptun Command

Purpose

Adds the exported tunnel definitions and optional user defined filter rules associated with the tunnels to the local host.

Syntax

imptun -f directory [-t tunnel_id_list] [-v 4|6] [-n] [-r] [-g]

Description

Use the imptun command to add exported tunnel definitions and optional user defined filter rules associated with the exported tunnels, which are in the files generated by the tunnel owner by using the exptun command, to the local host. This command can also import tunnel definitions from the exported files generated by the IBM firewall (SNG) product export command.

A new tunnel ID will be generated by the local host when a tunnel is imported to the local tunnel table. The auto-generated filter rules associated with the tunnel will also be generated automatically. Importing the exported user defined filter rules is optional.

If the exported files are transmitted by diskette, it is assumed they will be loaded to a local file directory using an AIX command such as tar, depending on the tunnel owner's instructions.

Flags

-f Specifies the directory from which the exported files will be read.
-t Lists the set of tunnel IDs to be imported from the export files. The tunnel definitions identified by these tunnel IDs will be added to the local host. If this flag is not used, all the tunnel definitions in the export files will be added to the local host.
-v IP version of the tunnel definitions from the exported files that you wish to import. If not specified, all IP version 4 and IP version 6 tunnel definitions that exist in the export files will be imported.
-n Specifies that the export files were generated by the IBM firewall (version 2.2) tunnel export command. This flag cannot be specified with -v flag. The -n flag is also mutually exclusive with the -r flag.
-r Imports the user defined filter rules associated with the tunnels that are being imported. To use this flag, the -r flag must have been specified with the exptun command when the exported files were generated. The -r flag is mutually exclusive with the -n flag.
-g The suppress system auto-generated filter rule flag. If this flag is not used, the command will generate two filter rules for each imported tunnel automatically. The auto-generated filter rules will allow all traffic between the two endpoints of the tunnel to go through the tunnel. If -g is specified, the command will only import the tunnel definitions, and the user will have to add user defined filter rules to use the tunnel.

Related Information

The gentun command, chtun command, rmtun command, exptun command, mktun command, and lstun command.


[ Previous | Next | Contents | Glossary | Home | Search ]