[ 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] [-l ibm | manual]

Description

Use the imptun command to add exported tunnel definitions and optional user defined filter rules associated with the exported tunnels (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 is generated by the local host when a tunnel is imported to the local tunnel table. The auto-generated filter rules associated with the tunnel also is 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 where the exported files will be read.
-g The suppress system auto-generated filter rule flag. If the -g 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 end points of the tunnel to go through the tunnel. If the -g flag is specified, the command will only import the tunnel ibm definitions, and the user will have to add user defined filter rules to use the tunnel.
-l The type of the tunnel(s) you want to import. If ibm is specified, only ibm tunnel(s) will be imported. If manual is specified, only manual tunnel(s) will be imported. -n and -l flags are mutually exclusive.
-n Specifies that the export files were generated by the IBM firewall (version 2.2) tunnel export command. This flag cannot be specified with the -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 the -r flag, it must have been specified with the exptun command when the exported files were generated. The -r flag is mutually exclusive with the -n flag.
-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.

Related Information

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


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