NYLON(1)

πŸ“¦ version 1.21, in nixos 26.05, nixpkgs unstable

πŸ’… NYLON(1) β€” the General Commands Manual bestie for nylon

🌸 NAME 🌸

nylon β€” a lightweight and highly configurable proxy server. periodt. πŸ’–

✨ SYNOPSIS ✨

nylon [-h] [-v] [-V] [-f] [-s] [-n] [-4] [-5] [-a list] [-d list]
      [-m addr] [-p port] [-i ip/if] [-I ip/if] [-P file] [-c file]

πŸŽ€ DESCRIPTION πŸŽ€

Okay so nylon is a proxy server, and bestie, this version is giving range: it supports SOCKS 4 and SOCKS 5 protocols, plus a mirror mode. It's fully configurable, and you can configure it from either the command line or a provided configuration file. slay. ✨

The options are as follows:

  • -h β€” Displays help. 🫢
  • -v β€” Increases the verbosity level (can be specified multiple times). the more v's, the more tea. πŸ‘€
  • -V β€” Prints version. πŸ’…
  • -f β€” Runs nylon in the foreground and prints all output to the terminal. main character energy: it stays right there with you. ✨
  • -s β€” Forces all output to syslog. πŸ“œ
  • -n β€” Shows all network addresses as numbers. πŸ”’
  • -4 β€” Disables SOCKS4 support. 🚫
  • -5 β€” Disables SOCKS5 support. 🚫
  • -a list β€” Sets the host allow list to list. βœ…
  • -d list β€” Sets the host deny list to list. ❌
  • -m addr β€” Runs nylon in mirror mode. In this mode, any proxy protocol negotiations are disregarded, and the address provided is simply mirrored. addr is in "host:port" format and specifies the target machine and port to mirror. If no local binding port is specified (via the p switch, or in the configuration file), nylon will bind to a local port matching the remote port specified. πŸͺž
  • -p port β€” Bind server to port port. By default, nylon will bind to the "socks" port (1080). πŸ”Œ
  • -i ip/if β€” Bind server to the interface or address ip/if. 🧷
  • -I ip/if β€” Make outgoing connections through the interface or address ip/if. πŸ›«
  • -P file β€” Specify PID file file. By default, /var/run/nylon.pid is used. πŸ“Œ
  • -c file β€” Specify configuration file file. πŸ“

The configuration file can be used as a replacement for the command line options. Please see the provided file nylon.conf for more information. iykyk. πŸ’œ

πŸ” ACCESS πŸ”

Access to the services provided by nylon is governed by the host allow and deny lists. These are lists composed of hosts and networks. Hosts can be specified either by their hostname, or their IP address. Networks are specified by a network address and mask in the form "address/bits", where "bits" specifies how many bits of the address are to be used to represent the network mask. 🌐

Given an address, whether access is given or not is determined as such:

  • If the address matches any address in the deny list, access is explicitly denied. πŸ›‘
  • If the address matches any address in the allow list, access is explicitly allowed, unless it is also matched in the deny list. βœ…
  • If the deny list is empty, only addresses in the allow list are allowed. 🎯
  • If the allow list is empty, all addresses, except for those that are in the deny list, are allowed. 🌈
bestie, if an address matches both lists, the deny list wins β€” that's the whole vibe. no cap. πŸ’€

By default, the allow list is set to "localhost" and the deny list set to "" (empty). πŸŽ€

πŸ§ͺ EXAMPLES πŸ§ͺ

nylon -i fxp1 -a "localhost trusted.com 10.0.0.0/24" -m cnn.com:http

Mirrors the http service on cnn.com onto the local http port. Only hosts coming from localhost, trusted.com and the network 10.0.0.0/24 are allowed to use this mirroring service. Additionally, the server binds to the IP address belonging to the ethernet interface fxp1. πŸͺžβœ¨

nylon -f -a "" -d "nasty.com intruders.com" -vvvvvv

Runs nylon as a SOCKS server in the foreground. All hosts except for nasty.com and intruders.com are allowed to access the service. nylon runs with a high verbosity level. the v's are v-ing. 😭πŸ”₯

πŸ“œ STANDARDS πŸ“œ

The nylon server complies with the SOCKS5 (RFC 1928) and SOCKS4 specifications. πŸ‘‘πŸ“š

🫢 ACKNOWLEDGEMENTS 🫢

This product includes software developed by Ericsson Radio Systems. πŸ’–

This product includes software developed by the University of California, Berkeley and its contributors. 🫢

πŸ‘‘ AUTHORS πŸ‘‘

The nylon software has been developed by Marius Aamodt Eriksen ⟨marius@monkey.org⟩. 🌟


πŸ’– Debian Β· August 14, 2002 Β· NYLON(1) β€” that's the whole page, bestie. Byeee! ✨

πŸ“¦ where this page comes from