5.1 Network interfaces

The On demand dial enabled option is processed with the lowest priority. If the always option is selected, on-demand dial will be allowed anytime when it is not conflicting with the time range of the never option.

Hangup if idle

If the line is idle for the period defined, it will be hung up automatically. With each incoming or outgoing packet, the timer of inactivity is set to zero.

There is no such thing as optimum length of the timeout period. If it is too short, the line is dialed too frequently, if too long, the line is kept connected too long. Both increase the Internet connection costs.

Note: This option does not take any effect in case that the connection is set as persistent (or in time ranges where it is set as persistent) — see above.

Advanced

WinRoute allows launching an application or a command in the following situations: Before dial, After dial, Before hang-upor/and After hang-up.

Note: In case of the Before dial and Before hang-upoptions, the system does not wait for its completion after startup of the program.

Figure 5.6 Dial-up — external commands

Path to the executable file must be complete. If the path includes spaces it must be closed into quotes, otherwise the part after a space will be considered as a para- meter(s) of a batch file. If the path to the file is quoted, the text which follows the closing quote mark is also considered as batch file parameter(s).

Warning: WinRoute is running in the operating system as a service. Therefore, ex- ternal applications and operating system’s commands will run in the background only (within the SYSTEM account). The same rules are applied for all external com- mands and external programs called by scripts. Therefore, it is not highly unrec- ommended to use interactive applications (i.e. applications with user interaction) for the actions described above. Otherwise. interactive applications are running as “invisible” until the next reboot or until the particular process is ended by the

55

Page 55
Image 55
Kerio Tech Firewall6 manual Hangup if idle, Advanced