dyniptables/dyniptables.conf
2024-03-20 11:20:58 -05:00

32 lines
1 KiB
Text

# dyniptables config file
# permissions on this file must be root:root, 0644
# The DHOSTS array is already declared; uncomment and add a line for
# each host to allow, notice '+=' to ADD to the array each line.
#
# Format: 'TYPE,HOST,PORT' (comma seperated, no spaces!)
# add as many lines as needed using += as shown
#
# TYPE is one of: ipv4, ipv6
# HOST is the remote host to look up in DNS
# PORT is the local incoming port to open
#
# Examples:
#DHOSTS+=('ipv4,host1.domain.com,10051')
#DHOSTS+=('ipv6,host1.domain.com,10051')
#DHOSTS+=('ipv4,host2.domain.com,10051')
#DHOSTS+=('ipv6,host3.domain.com,10051')
# Name of dyname chain for both IPv4 and IPv6 - IT WILL BE FLUSHED
#
# The named chain must be created in your iptables chains FIRST manually
# - this script does not create/delete the basic (empty) chain!
# - example:
#
# :DYNAMIC - [0:0]
# -A INPUT -j DYNAMIC
#
# - you must use a unique name (not INPUT, etc.)
# - iptables has a 30char limit on chain names
#
DCHAIN="DYNAMIC"