Inetcfg.ini

From OS2World.Com Wiki
Revision as of 22:42, 11 July 2023 by Jugbogdan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This file is located on "x:\mptn\etc\" (where x: is your OS/2 local drive).

If you do not have this file, you can create one with "inetcfg -g all" from the command line. Then place the line "inetcfg -s all" (minus the quotes) in your x:\mptn\bin\setup.cmd file.

Firewall

The IP protocol layer contains a switchable parameter called 'firewall'. This parameter acts as a flag which allows you to (optionally) enable or disable the firewall while the system is running. You can view or toggle this parameter by using the INETCFG utility.

You can get the firewall flag running:

inetcfg -get firewall

The output of this command should look like this:

#Inetcfg:       CURRENT DEFAULT MINIMUM MAXIMUM
firewall        1       0       0       1       FIREWALL ON/OFF

If you want to disable the firewall, you can do so with the command:

inetcfg -set firewall 0

Links