2015-05-28 16:20:26 +02:00
|
|
|
#
|
2015-11-09 22:09:37 +01:00
|
|
|
# Shorewall6 -- /etc/shorewall6/findgw
|
2015-05-28 16:20:26 +02:00
|
|
|
#
|
|
|
|
# The code in this file is executed when Shorewall is trying to detect the
|
|
|
|
# gateway through an interface in /etc/shorewall6/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.
|
|
|
|
#
|
2020-03-26 22:58:35 +01:00
|
|
|
# See https://shorewall.org/shorewall_extension_scripts.htm for additional
|
2015-05-28 16:20:26 +02:00
|
|
|
# information.
|
|
|
|
#
|
|
|
|
###############################################################################
|