Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Dernière révisionLes deux révisions suivantes | ||
net:git [2020/05/27 19:43] – [Serveur web] david | net:git [2022/05/31 20:18] – [Redirection ssh] david | ||
---|---|---|---|
Ligne 192: | Ligne 192: | ||
<file bash / | <file bash / | ||
# allow jail_git to connect to internet | # allow jail_git to connect to internet | ||
- | nat on $ext_if inet6 from $jail_git to any -> ($ext_if) | + | nat on $ext_if inet6 from $jail_git to any -> ($ext_if):0 |
# | # | ||
rdr pass on $ext_if proto tcp from any to ($ext_if) port 9022 -> jail_git port 22 | rdr pass on $ext_if proto tcp from any to ($ext_if) port 9022 -> jail_git port 22 |