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 Prochaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
net:git [2020/05/26 21:20] – [Redirection ssh] david | net:git [2022/05/31 20:18] – [Redirection ssh] david | ||
---|---|---|---|
Ligne 53: | Ligne 53: | ||
====== Serveur web ====== | ====== Serveur web ====== | ||
- | '' | + | '' |
Il peut être utilisé directement sous Apache, mais nécessite le port [[https:// | Il peut être utilisé directement sous Apache, mais nécessite le port [[https:// | ||
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 |