g3proxy: update sphinx doc

This commit is contained in:
Zhang Jingqiang 2024-01-11 15:00:30 +08:00
parent af92640196
commit 3f20239101
11 changed files with 130 additions and 19 deletions

View file

@ -0,0 +1,15 @@
.. _protocol_setup:
###########
Setup Guide
###########
Transparent Proxy
=================
How to setup transparent proxy firewall / route rules on the host. See :doc:`transparent_proxy`.
.. toctree::
:hidden:
transparent_proxy

View file

@ -0,0 +1,26 @@
.. _protocol_setup_transparent_proxy:
=================
Transparent Proxy
=================
Linux
=====
See netfilter `TPROXY`_.
.. _TPROXY: https://docs.kernel.org/networking/tproxy.html
FreeBSD
=======
See `ipfw`_ forward rule.
.. _ipfw: https://man.freebsd.org/cgi/man.cgi?query=ipfw
OpenBSD
=======
See pf `divert-to`_ role.
.. _divert-to: https://man.openbsd.org/pf.conf.5#divert-to