1
0
mirror of https://gitlab.com/shorewall/code.git synced 2024-12-24 07:08:53 +01:00
shorewall_code/Shorewall/configfiles/findgw

17 lines
551 B
Plaintext
Raw Normal View History

#
2009-10-02 22:10:49 +02:00
# Shorewall version 4 - Findgw File
#
# /etc/shorewall/findgw
#
# The code in this file is executed when Shorewall is trying to detect the
# gateway through an interface in /etc/shorewall/providers that has GATEWAY
# specified as 'detect'.
#
# The function should echo the IP address of the gateway if it knows what
# it is; the name of the interface is in $1.
#
# See http://shorewall.net/shorewall_extension_scripts.htm for additional
# information.
#
###############################################################################