Skip to content
Snippets Groups Projects
Commit 03bd0df8 authored by Gallenkamp, Fabian's avatar Gallenkamp, Fabian
Browse files

Adapted ufw to current server config

parent d103c43b
No related branches found
No related tags found
No related merge requests found
...@@ -7,14 +7,16 @@ ...@@ -7,14 +7,16 @@
- name: allow ssh access from specified ip ranges - name: allow ssh access from specified ip ranges
ufw: ufw:
rule: allow rule: allow
app: OpenSSH
from_ip: "{{ item }}" from_ip: "{{ item }}"
to_port: 22
proto: tcp
with_items: "{{ ufw_ssh_allowed_from }}" with_items: "{{ ufw_ssh_allowed_from }}"
- name: rate limiting ssh access - name: rate limiting ssh access
ufw: ufw:
rule: limit rule: limit
app: OpenSSH to_port: 22
proto: tcp
# setup nginx web server exception rule # setup nginx web server exception rule
- name: allow access of nginx webserver from everywhere - name: allow access of nginx webserver from everywhere
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
- python3-pip - python3-pip
- python3-dev - python3-dev
- python3-venv - python3-venv
# - python3.7 - python3.7
# - python3.7-dev - python3.7-dev
# - python3.7-venv - python3.7-venv
- python-psycopg2 - python-psycopg2
- libpq-dev - libpq-dev
- redis-server - redis-server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment