# Reverse Proxy
## Tested against Windows 10 / Python 3.10 / Anaconda and Ubuntu
## pip install revproxy
```python
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.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/revproxy",
"name": "revproxy",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "proxy",
"author": "Johannes Fischer",
"author_email": "aulasparticularesdealemaosp@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/43/a8/81af85c4609439bee0e9709bb01fe8cc501452c1c80465653d015acc267c/revproxy-0.12.tar.gz",
"platform": null,
"description": "\r\n# Reverse Proxy\r\n\r\n## Tested against Windows 10 / Python 3.10 / Anaconda and Ubuntu\r\n\r\n## pip install revproxy\r\n\r\n```python\r\nconfigure_ethernet_and_start_proxies\r\nThis function configures network interfaces, sets up network namespaces and virtual interfaces,\r\nand starts reverse proxies (using https://github.com/b23r0/rsocx) and DNS updates based on the provided parameters.\r\nThe function has to be executed with the same arguments on the server (Linux) and the client (Windows).\r\nYou must disable ipv6!\r\n\r\n\r\nParameters:\r\n- apikey (str): API key for Dynu DNS service (https://www.dynu.com/en-US/ControlPanel/APICredentials).\r\n- dyn_password (str): Password for Dynu DNS service (https://www.dynu.com/en-US/ControlPanel/APICredentials).\r\n- subdomain (str): Subdomain to update DNS records for (https://www.dynu.com/en-US/ControlPanel/DDNS).\r\n- domain (str): Top-level domain to update DNS records for (https://www.dynu.com/en-US/ControlPanel/DDNS).\r\n- interfaces (list or tuple): List of network interfaces to use for configuration (use \"ip route\" on Linux to find interfaces).\r\n- linux_username (str): The username of the Linux user to use for network configuration.\r\n- su_password (str): The superuser (su) password for Linux.\r\n- sleep_ip_update (int): Frequency in seconds to update the IP address.\r\n- execute_linux_network_patches (bool): If True, execute commands to create virtual network interfaces on Linux.\r\n- nameserver (str): The nameserver to use for DNS resolution.\r\n- networkprefix (str): Prefix for network namespaces.\r\n- virtualnetworkprefix (str): Prefix for virtual network interfaces.\r\n- ipprefix (str): Prefix for IP addresses.\r\n- port_start_reverse (int): Port where the reverse proxy will start.\r\n- port_start_proxy (int): Port where the proxy will start.\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Reverse Proxy",
"version": "0.12",
"project_urls": {
"Homepage": "https://github.com/hansalemaos/revproxy"
},
"split_keywords": [
"proxy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "64f9c3002d6f7e845dacdd2f8a7293e49a7c68b607fdc897ba681dceed0ac4e1",
"md5": "146d166d940fca93c3d4e1deba22befd",
"sha256": "b760faa1cb278f98291520df32aa152dc0525069afc262a036da4bb66a62203e"
},
"downloads": -1,
"filename": "revproxy-0.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "146d166d940fca93c3d4e1deba22befd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1577776,
"upload_time": "2023-09-05T04:47:46",
"upload_time_iso_8601": "2023-09-05T04:47:46.022524Z",
"url": "https://files.pythonhosted.org/packages/64/f9/c3002d6f7e845dacdd2f8a7293e49a7c68b607fdc897ba681dceed0ac4e1/revproxy-0.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "43a881af85c4609439bee0e9709bb01fe8cc501452c1c80465653d015acc267c",
"md5": "02e281565734fb407e60c9b605313dbe",
"sha256": "7bd4b355e2b27444fbf6cf2bfd62291b7db7b55c3e61fd3e717f14fb522aa6d5"
},
"downloads": -1,
"filename": "revproxy-0.12.tar.gz",
"has_sig": false,
"md5_digest": "02e281565734fb407e60c9b605313dbe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1578610,
"upload_time": "2023-09-05T04:47:55",
"upload_time_iso_8601": "2023-09-05T04:47:55.374494Z",
"url": "https://files.pythonhosted.org/packages/43/a8/81af85c4609439bee0e9709bb01fe8cc501452c1c80465653d015acc267c/revproxy-0.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-05 04:47:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hansalemaos",
"github_project": "revproxy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "revproxy"
}