Access Gateway Network Setup menu
The Access Gateway Network Setup menu lets you check the status of the network and modify the network settings.
Press 1 in the main menu to enter the Access Gateway Network Setup menu.
Network commands
- Manage network interfaces: Manage network interfaces including routing for the Access Gateway appliance.
- Test network configuration: Attempt to connect to several websites and check the NGINX configuration and status.
- Edit /etc/hosts: Edit the /etc/hosts file on the Access Gateway appliance.
- Setup NIC bonding: Configure a NIC bonding configuration similar to a static network configuration.
- Proxy settings: Set up a proxy connection for the Access Gateway appliance, or remove a proxy configuration from the appliance.
- Ping: This command determines if a destination host is reachable from the Access Gateway appliance.
- Connectivity test: This test validates a connection between the Access Gateway appliance and any other system. Use this tool to validate whether a back-end application or server can reach the Access Gateway.
- Manage DNS settings: Configure primary and secondary DNS servers.
- View configuration change plan: View the configuration change plan.
- DNS Lookup: Perform a DNS lookup for a given hostname.
- Connectivity test (cURL): Validate a connection using cURL.
- Manage Trusted Domains: Enable, disable, and view trusted domains.
- Show running configuration: View the current configuration of the Access Gateway appliance.
- Commit changes to system: Commit any unsaved changes to the Access Gateway appliance.
- Restart Networking: Restart the networking services on the Access Gateway appliance.
- Exit: Exit to the Access Gateway Management console.
Manage network interfaces
The Manage network interfaces submenu allows you to perform the following tasks:
- Set up DHCP management for an interface.
- Assign or remove an IP address from an interface.
- Assign or remove a route from an interface.
All networking changes made using the Manage network interfaces submenu are made immediately but aren't persisted until you commit them using the Commit changes to system menu item.
- In the Access Gateway Management console, press 1 - Manage network interfaces to enter the Access Gateway Network Setup menu.
- Press the number for the networking interface that you want to manage.
- Press a to assign a static IP address. If an interface already has a static IP address, or has a DHCP-assigned address, then this option is unavailable.
- Enter the IP address, and then press Enter.
- Enter the netmask for the address as four hexadecimal digits and press Enter.
- Enter the gateway address for the static IP address and press Enter. The Access Gateway Management console displays a confirmation message.
- Press c to continue with the change.
- Press d to set up DHCP for the interface.
- Press y.
Test network configuration
- Press 2 from the Access Gateway Network Setup menu.
- The system attempts to connect to https://www.okta.com and displays the status. Press Enter to continue.
- The system checks the NGINX configuration and displays the status. Press Enter to return to the Access Gateway Network Setup menu.
Edit /etc/hosts
The /etc/hosts file is used to configure statically assigned hostnames. Administrators can override DNS addresses for specific hostnames or provide addresses for hosts not in DNS by adding entries to /etc/hosts. This helps Okta Access Gateway connect to the correct host.
- Press 3 from the Access Gateway Network Setup menu. The current entries in the hosts file appear by line number.
- Press a to add an entry.
- Add the entry following the standard format.
- To delete an entry, press d and enter the line number that corresponds to the entry you want to delete.
- Press c to commit the changes to the hosts file.
- Press x to return to the Access Gateway Network Setup menu.
Setup NIC bonding
NIC bonding is the process of combining two ethernet ports together into a bonded virtual port. Typically, NIC bonding is used if there is sufficient traffic on a single port to saturate a single network connection.
- In the Access Gateway Management console, press 1 - Manage network interfaces to enter the Access Gateway Network Setup menu.
- Press 5 to set up NIC bonding.
- Enter the IP address, and then press Enter.
- Enter the netmask value, and then press Enter.
- Enter the default gateway value, and then press Enter.
- Enter the primary DNS server value, and then press Enter.
- Enter the secondary DNS server value, and then press Enter.
- Enter the search domain address, and then press Enter.
- Press c to commit the changes.
- Review the network configuration. To confirm the changes, press y, and then press Enter. To discard your changes and return to the Access Gateway Network Setup menu, press n, and then press Enter.
- After the change is complete, press any key to return to the Access Gateway Network Setup menu.
Proxy settings
Set a proxy
- Press 5 from the Access Gateway Network Setup menu.
- Press 1 to configure the proxy.
- Enter the proxy hostname, and then press Enter.
- Enter the proxy port, and then press Enter.
- If required, enter a proxy username, and then press Enter.
- If required, enter a proxy password, and then press Enter.
- Enter the hostnames (separated by commas) that need to bypass the proxy.
- Press y to confirm the proxy settings, or N to abort.
- Press Enter to return to the proxy menu, and then press Enter again to return to the main Access Gateway Network Setup menu.
Unset a proxy
- Press 5 from the Access Gateway Network Setup menu.
- Press 2 to remove the proxy configuration.
- Press y to confirm.
- Press Enter to return to the proxy menu, and press Enter again to return to the Access Gateway Network Setup menu.
Ping
The Ping option checks if a destination host is reachable from the Access Gateway appliance.
- Press 6 from the Access Gateway Network Setup menu.
- Enter the hostname or IP address for the destination host that you want to ping, and then press Enter. The system displays the ping results.
- Press Enter to return to the main Access Gateway Network Setup menu.
Connectivity test
This test validates a connection between the Access Gateway and any other system. You can also validate if a back-end application or server is reachable from the Access Gateway appliance.
- Press 7 from the Access Gateway Network Setup menu.
- Enter the hostname or IP address of the machine that you want to test, and then press Enter.
- Enter the port number that you want to test, and then press Enter. The system displays the connection results.
- Press Enter to return to the Access Gateway Network Setup menu.
Manage DNS settings
Use the Manage DNS Setting submenu to add, delete, or modify domain name servers, and search domains.
- In the Access Gateway Management console, press 1 - Manage network interfaces to open the Access Gateway Network Setup menu.
- Press 8 from the Access Gateway Network Setup menu. The current DNS Name Server settings appear.
- Press x to exit and return to the Access Gateway Network Setup menu.
Manage DNS servers
- Press 1 from the Access Gateway Network Setup menu. The DNS server list appears.
- Press 1 to set the Primary DNS server.
- Press 2 to set the Secondary DNS server.
- Press 3 to set the Tertiary DNS server.
When no DNS servers are set, setting a secondary or tertiary DNS server results in setting a primary DNS server.
Primary DNS Server IP addresses can't be blank, while secondary and tertiary DNS servers may be omitted.
- Enter the IP address for the selected DNS server and then press Enter. The updated DNS server list appears.
- Press x to exit and return to the Access Gateway Network Setup menu.
Manage search domains
Access Gateway supports up to six search domains.
- Press 2 from the Access Gateway Network Setup menu. The search domains list appears.
- Press a to add a search domain.
- Enter the new search domain and then press Enter.
- The new search domain is added and the current list appears.
- Press r to remove an existing search domain. The list of existing search domains appears.
- Enter the number associated with the search domain to be removed.
- The search domain is removed and the current list appears.
Manage Trusted Domains
This menu is used to enable, disable, or view trusted domains.
- Press 9 from the Access Gateway Network Setup menu.
- Press x to exit and return to the Access Gateway Network Setup menu.
Enable or display trusted domains
- Press 1 to toggle the Enable/Disable trusted domain option. The status of each trusted domain appears.
- Press x to exit. The Manage Trusted Domains menu appears.
View trust domains
- Press 2 to view the list of trusted domains.
The view option is still present but it displays a warning if you try to view trusted domains when they're disabled.
- Press x to exit. The Manage Trusted Domains menu appears and shows the current status for trusted domains.
Show running configuration
Display details of the current configuration, including interface, DNS, and the routing and host file contents.
- Press s from the Access Gateway Network Setup menu.
- Press Enter to display running configuration details.
- Press Enter to return to the Access Gateway Network Setup menu.
View configuration change plan
Display details of the current configuration including interface, DNS, and the routing and host file contents.
- Press v from the Access Gateway Network Setup menu.
- Press Enter to return to the Access Gateway Network Setup menu.
DNS Lookup
Perform a DNS lookup for a given hostname.
- Press d from the Access Gateway Network Setup menu.
- Enter the host name or IP address that you want to look up.
- Enter the host name or IP address of the DNS server.
- Press Enter to start the search.
- Press Enter to return to the Access Gateway Network Setup menu.
Connectivity test (cURL)
- Press u from the Access Gateway Network Setup menu.
- Enter the URL to which you want to test connectivity.
- Press Enter to return to the Access Gateway Network Setup menu.
Commit changes to system
- Press c from the Access Gateway Network Setup menu.
- Press y to commit, or n to ignore changes.
- Press Enter to return to the Access Gateway Network Setup menu.