B.4 gateway config create

Creates a new configuration for the SGD Gateway, overwriting the current configuration.

Syntax

gateway config create { [ --interface interface:port ]
                        [ --entry-point ip-address:port ]
                       } | --file file

Description

The following table shows the available options for this command.

Option

Description

--interface

Interface and port that the SGD Gateway listens on for incoming proxy connections. The default is TCP port 443, on all interfaces.

--entry-point

Entry point for the network. This is the IP address, and port that clients use to connect to the SGD Gateway. You can specify a Domain Name System (DNS) address instead of an IP address.

--file

Specifies a file containing configuration settings.

Note

If no options are specified for the gateway config create command, a series of online prompts are displayed, enabling you to enter the required settings.

If you use the --file option for gateway config create, the specified file must be of the same format as the /opt/SUNWsgdg/etc/gatewayconfig.xml file. This file is created during initial configuration of the SGD Gateway, as described in Section 2.2.1.1, “How to Configure the Ports and Connections for the SGD Gateway”.

Examples

The following example configures an SGD Gateway to listen on TCP port 443 for connections from the network entry point, at 192.168.0.1.

# /opt/SUNWsgdg/bin/gateway config create --interface *:443 \
--entry-point 192.168.0.1:443