15Appendix
The additional HTTPS interfaces nph-vpn.cgi, nph-diag.cgi, nph-status.cgi and nph-action.cgi are implemented as CGI (Common Gateway Interface) scripts.
For more information on using the CGI interfaces, see mGuard Application Notes (UM EN MGUARD APPNOTES), available at phoenixcontact.net/products or help.mguard.com. |
When executing the CGI scrips nph-vpn.cgi, nph-diag.cgi, nph-status.cgi and nph-action.cgi, only the following characters may be used in user names, passwords, and other user-defined names (for example, the name of a VPN connection): –Letters: A - Z, a - z –Digits: 0 - 9 –Special characters: - . _ ~
If other special characters, such as "space" or the "question mark", are used, they must be encoded accordingly (URL encoding). |
Using the command line tool wget is not supported. Instead, you can use the command line tool curl (parameters and options differ!). Example: curl --insecure "https://admin:mGuard@192.168.1.1/nph-vpn.cgi?name=Athen&cmd=up" The option --insecure (curl) ensures that the HTTPS certificate on the mGuard does not undergo any further checking. |
(Space) |
! |
" |
# |
$ |
% |
& |
' |
( |
) |
* |
+ |
---|---|---|---|---|---|---|---|---|---|---|---|
%20 |
%21 |
%22 |
%23 |
%24 |
%25 |
%26 |
%27 |
%28 |
%29 |
%2A |
%2B |
, |
/ |
: |
; |
= |
? |
@ |
[ |
\ |
] |
{ |
| |
} |
---|---|---|---|---|---|---|---|---|---|---|---|---|
%2C |
%2F |
%3A |
%3B |
%3D |
%3F |
%40 |
%5B |
%5C |
%5D |
%7B |
%7C |
%7D |
The following commands can be executed on the command line of the mGuard by the users root and admin.
Command |
Parameter |
Description |
---|---|---|
mg update |
patches |
An automatic online update will be started. The required package set will be determined automatically by the mGuard (see"Automatic Update" on page 79). Patch-Releases resolve errors in previous versions and have a version number which only changes in the third digit position. |
minor |
Minor- und major releases supplement the mGuard with new properties or contain changes that affect the behavior of the mGuard. Their version number changes in the first or second digit position. |
|
major |
||
mg status |
/network/dns-servers |
Used DNS server Names of the DNS servers used by the mGuard for name resolution. |
/network/if-state/ext1/gw |
Current default route The IP address that the mGuard uses to try to reach unknown networks. |
|
/network/if-state/ext1/ip |
External IP address The addresses via which the mGuard can be accessed by devices from the external network. In Stealth mode, the mGuard adopts the address of the locally connected computer as its external IP. |
|
/network/if-state/ext1/netmask |
Net
mask of the external |
15.3LED status indicator and blinking behavior
15.3.1Representation of system states
The system states (status, alarm or error messages), which are displayed by the LED's lighting and blinking behavior, are shown in Table 15-3.