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