mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-27 02:46:47 +01:00
d44cc14c6b
* added packer build for DigitalOcean Droplets * fixed typo * added packer RELEASE_GUIDE.md, Makefile * Apply suggestions from code review Co-authored-by: Roman Khavronenko <hagen1778@gmail.com> * added corrections amd improvements * added packer link & templating for sed version * fixed typo Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com> Co-authored-by: Roman Khavronenko <hagen1778@gmail.com>
16 lines
649 B
Bash
Executable File
16 lines
649 B
Bash
Executable File
#!/bin/sh
|
|
|
|
sed -e 's|DEFAULT_FORWARD_POLICY=.*|DEFAULT_FORWARD_POLICY="ACCEPT"|g' \
|
|
-i /etc/default/ufw
|
|
|
|
ufw allow ssh comment "SSH port"
|
|
ufw allow http comment "HTTP port"
|
|
ufw allow https comment "HTTPS port"
|
|
ufw allow 8428 comment "VictoriaMetrics Single HTTP port"
|
|
ufw allow 8089/tcp comment "TCP Influx Listen port for VictoriaMetrics"
|
|
ufw allow 8089/udp comment "UDP Influx Listen port for VictoriaMetrics"
|
|
ufw allow 2003/tcp comment "TCP Graphite Listen port for VictoriaMetrics"
|
|
ufw allow 2003/udp comment "UDP Graphite Listen port for VictoriaMetrics"
|
|
ufw allow 4242 comment "OpenTSDB Listen port for VictoriaMetrics"
|
|
|
|
ufw --force enable |