tor-fw-helper.1.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // Copyright (c) The Tor Project, Inc.
  2. // See LICENSE for licensing information
  3. // This is an asciidoc file used to generate the manpage/html reference.
  4. // Learn asciidoc on http://www.methods.co.nz/asciidoc/userguide.html
  5. tor-fw-helper(1)
  6. ================
  7. Jacob Appelbaum
  8. NAME
  9. ----
  10. tor-fw-helper - Manage upstream firewall/NAT devices
  11. SYNOPSIS
  12. --------
  13. **tor-fw-helper** [-h|--help] [-T|--test] [-v|--verbose] [-g|--fetch-public-ip]
  14. -i|--internal-or-port __TCP port__ [-e|--external-or-port _TCP port_]
  15. [-d|--internal-dir-port _TCP port_] [-p|--external-dir-port _TCP port_]
  16. DESCRIPTION
  17. -----------
  18. **tor-fw-helper** currently supports Apple's NAT-PMP protocol and the UPnP
  19. standard for TCP port mapping. It is written as the reference implementation of
  20. tor-fw-helper-spec.txt and conforms to that loose plugin API. If your network
  21. supports either NAT-PMP or UPnP, tor-fw-helper will attempt to automatically
  22. map the required TCP ports for Tor's Or and Dir ports. +
  23. OPTIONS
  24. -------
  25. **-h** or **--help**::
  26. Display help text and exit.
  27. **-v**::
  28. Display verbose output.
  29. **-T** or **--test**::
  30. Display test information and print the test information in
  31. tor-fw-helper.log
  32. **-g** or **--fetch-public-ip**::
  33. Fetch the the public ip address for each supported NAT helper method.
  34. **-i** or **--internal-or-port** __port__::
  35. Inform **tor-fw-helper** of your internal OR port. This is the only
  36. required argument.
  37. **-e** or **--external-or-port** __port__::
  38. Inform **tor-fw-helper** of your external OR port.
  39. **-d** or **--internal-dir-port** __port__::
  40. Inform **tor-fw-helper** of your internal Dir port.
  41. **-p** or **--external-dir-port** __port__::
  42. Inform **tor-fw-helper** of your external Dir port.
  43. BUGS
  44. ----
  45. This probably doesn't run on Windows. That's not a big issue, since we don't
  46. really want to deal with Windows before October 2010 anyway.
  47. SEE ALSO
  48. --------
  49. **tor**(1) +
  50. See also the "tor-fw-helper-spec.txt" file, distributed with Tor.
  51. AUTHORS
  52. -------
  53. Jacob Appelbaum <jacob@torproject.org>, Steven J. Murdoch <Steven.Murdoch@cl.cam.ac.uk>