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.
Metadata
Release files for revproxy 0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| revproxy-0.12.tar.gz | 1.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| revproxy-0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.2 MB
Release files / revproxy-0.12.tar.gz
| Download URL | revproxy-0.12.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bd4b355e2b27444fbf6cf2bfd62291b7db7b55c3e61fd3e717f14fb522aa6d5
|
|
BLAKE2b-256 checksum How to use checksums |
43a881af85c4609439bee0e9709bb01fe8cc501452c1c80465653d015acc267c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / revproxy-0.12-py3-none-any.whl
| Download URL | revproxy-0.12-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b760faa1cb278f98291520df32aa152dc0525069afc262a036da4bb66a62203e
|
|
BLAKE2b-256 checksum How to use checksums |
64f9c3002d6f7e845dacdd2f8a7293e49a7c68b607fdc897ba681dceed0ac4e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|