Rev | Line | |
---|
[3655] | 1 | # prevent startup with default configuration
|
---|
| 2 | # set the following varible to 1 in order to allow Shorewall to start
|
---|
| 3 |
|
---|
| 4 | startup={% if shorewall_startup is defined %}{{ shorewall_startup }}{% else %}0{% endif %}
|
---|
| 5 |
|
---|
| 6 | # If your Shorewall configuration requires detection of the ip address of a ppp
|
---|
| 7 | # interface, you must list such interfaces in "wait_interface" to get Shorewall
|
---|
| 8 | # to wait until the interface is configured. Otherwise the script will fail
|
---|
| 9 | # because it won't be able to detect the IP address.
|
---|
| 10 | #
|
---|
| 11 | # Example:
|
---|
| 12 | # wait_interface="ppp0"
|
---|
| 13 | # or
|
---|
| 14 | # wait_interface="ppp0 ppp1"
|
---|
| 15 | # or, if you have defined in /etc/shorewall/params
|
---|
| 16 | # wait_interface=
|
---|
| 17 | {% if shorewall_wait_interface is defined %}wait_interface="{{ shorewall_wait_interface }}"{% endif %}
|
---|
| 18 |
|
---|
| 19 | #
|
---|
| 20 | # Global start/restart/stop options
|
---|
| 21 | #
|
---|
| 22 | OPTIONS="{% if shorewall_options is defined %}{{ shorewall_options }}{% endif %}"
|
---|
| 23 |
|
---|
| 24 | #
|
---|
| 25 | # Start options
|
---|
| 26 | #
|
---|
| 27 | STARTOPTIONS="{% if shorewall_startoptions is defined %}{{ shorewall_startoptions }}{% endif %}"
|
---|
| 28 |
|
---|
| 29 | #
|
---|
| 30 | # Restart options
|
---|
| 31 | #
|
---|
| 32 | RELOADOPTIONS="{% if shorewall_reloadoptions is defined %}{{ shorewall_reloadoptions }}{% endif %}"
|
---|
| 33 |
|
---|
| 34 | #
|
---|
| 35 | # Restart options
|
---|
| 36 | #
|
---|
| 37 | RESTARTOPTIONS="{% if shorewall_restartoptions is defined %}{{ shorewall_restartoptions }}{% endif %}"
|
---|
| 38 |
|
---|
| 39 | #
|
---|
| 40 | # Init Log -- if /dev/null, use the STARTUP_LOG defined in shorewall.conf
|
---|
| 41 | #
|
---|
| 42 | INITLOG={% if shorewall_initlog is defined %}{{ shorewall_initlog }}{% else %}/dev/null{% endif %}
|
---|
| 43 |
|
---|
| 44 | #
|
---|
| 45 | # Set this to 1 to cause '/etc/init.d/shorewall stop' to place the firewall in
|
---|
| 46 | # a safe state rather than to open it
|
---|
| 47 | #
|
---|
| 48 | SAFESTOP={% if shorewall_safestop is defined %}{{ shorewall_safestop }}{% else %}0{% endif %}
|
---|
| 49 |
|
---|
| 50 | # EOF
|
---|
Note:
See
TracBrowser
for help on using the repository browser.