OP#414 edit iptables
This commit is contained in:
@@ -12,6 +12,7 @@ class confdroid_gitea::firewall::iptables (
|
|||||||
dport => $ga_http_port,
|
dport => $ga_http_port,
|
||||||
jump => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
|
if $ga_start_ssh != false {
|
||||||
firewall { "${ga_order_prefix}${ga_ssh_port} allow gitea ssh port ${ga_ssh_port}":
|
firewall { "${ga_order_prefix}${ga_ssh_port} allow gitea ssh port ${ga_ssh_port}":
|
||||||
proto => 'tcp',
|
proto => 'tcp',
|
||||||
dport => $ga_ssh_port,
|
dport => $ga_ssh_port,
|
||||||
@@ -19,3 +20,4 @@ class confdroid_gitea::firewall::iptables (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user