Skip to main content

Reverse Proxy

Project description

Reverse Proxy

Tested against Windows 10 / Python 3.10 / Anaconda and Ubuntu

pip install revproxy

configure_ethernet_and_start_proxies
This function configures network interfaces, sets up network namespaces and virtual interfaces,
and starts reverse proxies (using https://github.com/b23r0/rsocx) and DNS updates based on the provided parameters.
The function has to be executed with the same arguments on the server (Linux) and the client (Windows).
You must disable ipv6!


Parameters:
- apikey (str): API key for Dynu DNS service (https://www.dynu.com/en-US/ControlPanel/APICredentials).
- dyn_password (str): Password for Dynu DNS service (https://www.dynu.com/en-US/ControlPanel/APICredentials).
- subdomain (str): Subdomain to update DNS records for (https://www.dynu.com/en-US/ControlPanel/DDNS).
- domain (str): Top-level domain to update DNS records for (https://www.dynu.com/en-US/ControlPanel/DDNS).
- interfaces (list or tuple): List of network interfaces to use for configuration (use "ip route" on Linux to find interfaces).
- linux_username (str): The username of the Linux user to use for network configuration.
- su_password (str): The superuser (su) password for Linux.
- sleep_ip_update (int): Frequency in seconds to update the IP address.
- execute_linux_network_patches (bool): If True, execute commands to create virtual network interfaces on Linux.
- nameserver (str): The nameserver to use for DNS resolution.
- networkprefix (str): Prefix for network namespaces.
- virtualnetworkprefix (str): Prefix for virtual network interfaces.
- ipprefix (str): Prefix for IP addresses.
- port_start_reverse (int): Port where the reverse proxy will start.
- port_start_proxy (int): Port where the proxy will start.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

revproxy-0.12.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

revproxy-0.12-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file revproxy-0.12.tar.gz.

File metadata

  • Download URL: revproxy-0.12.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for revproxy-0.12.tar.gz
Algorithm Hash digest
SHA256 7bd4b355e2b27444fbf6cf2bfd62291b7db7b55c3e61fd3e717f14fb522aa6d5
MD5 02e281565734fb407e60c9b605313dbe
BLAKE2b-256 43a881af85c4609439bee0e9709bb01fe8cc501452c1c80465653d015acc267c

See more details on using hashes here.

File details

Details for the file revproxy-0.12-py3-none-any.whl.

File metadata

  • Download URL: revproxy-0.12-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for revproxy-0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b760faa1cb278f98291520df32aa152dc0525069afc262a036da4bb66a62203e
MD5 146d166d940fca93c3d4e1deba22befd
BLAKE2b-256 64f9c3002d6f7e845dacdd2f8a7293e49a7c68b607fdc897ba681dceed0ac4e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page