Sha256: 411aa55695a9078b7a253afe9467f4fcbbb8fa78e3cfffccf87195433e9caac8

Contents?: true

Size: 1.17 KB

Versions: 41

Compression:

Stored size: 1.17 KB

Contents

*filter
:ufw-user-input - [0:0]
:ufw-user-output - [0:0]
:ufw-user-forward - [0:0]
:ufw-before-logging-input - [0:0]
:ufw-before-logging-output - [0:0]
:ufw-before-logging-forward - [0:0]
:ufw-user-logging-input - [0:0]
:ufw-user-logging-output - [0:0]
:ufw-user-logging-forward - [0:0]
:ufw-after-logging-input - [0:0]
:ufw-after-logging-output - [0:0]
:ufw-after-logging-forward - [0:0]
:ufw-logging-deny - [0:0]
:ufw-logging-allow - [0:0]
:ufw-user-limit - [0:0]
:ufw-user-limit-accept - [0:0]
### RULES ###

<% Pvcglue.cloud.firewall_allow_incoming_on_port.each do |port| %>
<%= "### tuple ### allow tcp #{port} 0.0.0.0/0 any 0.0.0.0/0 in\n" %>
<%= "-A ufw-user-input -p tcp --dport #{port} -j ACCEPT\n" %>

<% end %>
<% Pvcglue.cloud.firewall_allow_incoming_from_ip.each do |ip| %>
<%= "### tuple ### allow any any 0.0.0.0/0 any #{ip} in\n" %>
<%= "-A ufw-user-input -s #{ip} -j ACCEPT\n" %>

<% end %>
### END RULES ###

### LOGGING ###
-I ufw-user-logging-input -j RETURN
-I ufw-user-logging-output -j RETURN
-I ufw-user-logging-forward -j RETURN
### END LOGGING ###

### RATE LIMITING ###
-A ufw-user-limit -j REJECT
-A ufw-user-limit-accept -j ACCEPT
### END RATE LIMITING ###
COMMIT

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
pvcglue-0.9.6 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.9.5 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.9.4 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.9.3 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.9.2 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.9.1 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.9.0 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.39 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.38 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.37 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.36 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.35 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.34 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.33 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.32 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.31 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.30 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.29 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.28 lib/pvcglue/templates/ufw.rules.erb
pvcglue-0.1.27 lib/pvcglue/templates/ufw.rules.erb