{ "info": { "author": "Pierre Penninckx", "author_email": "ibizapeanut@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# UPnPPort\n\nMaintains port forwarding in UPnP compatible routers.\n\n## Install\n\n```\npip install UPnPPort\n```\n\nThis installs a script called `upnpport`.\n\n## Example use case\n\nWith the following configuration file, the daemon will create two\nforwarding rules `80 -> 8888` and `22 -> 22`.\n\n```yaml\n- port: 8888\n external_port: 80\n protocol: tcp\n- port: 22\n protocol: tcp\n```\n\nThe internal ip used is the one running the daemon.\n\n## Configuration\n\nConfiguration files are searched in one of the following\nlocations. Last configuration file found takes precendence.\n* `/etc/upnpport/upnpport.yaml`\n* `~/.config/upnpport/upnpport.yaml`\n* `./config/upnpport.yaml`\n\nYou can override the above list of searched paths by giving the\n`--config_files=path[,path,...]` argument.\n\nAdding or removing rules to a configuration file is done by using the\n`configure` argument:\n\n```\nupnpport add [--protocol {tcp,udp}] [--external_port EXTERNAL_PORT] port\n\nupnpport del [--protocol {tcp,udp}] [--external_port EXTERNAL_PORT] port\n```\n\n## Run\n\nRunning the daemon is done by using the `run` argument:\n\n```\nupnpport run [--config_files CONFIG_FILES]\n```\n\n## Using systemd\n\nThe daemon can start when the system starts by creating a systemd unit\nfile like the following one in `/etc/systemd/system/upnpport.service`.\n\n```\n[Unit]\nDescription=UPnPPort service\nAfter=network.target\n\n[Service]\nUser=upnpport\nGroup=upnpport\nExecStart=/usr/bin/upnpport run\nExecReload=/bin/kill -s usr1 $MAINPID\n\n[Install]\nWantedBy=default.target\n```\n\nI advice running the daemon with a non-root user. A system user can be\ncreated with `useradd --system upnpport`.\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/ibizaman/upnpport/archive/0.1.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ibizaman/upnpport", "keywords": "upnp", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "UPnPPort", "package_url": "https://pypi.org/project/UPnPPort/", "platform": "", "project_url": "https://pypi.org/project/UPnPPort/", "project_urls": { "Download": "https://github.com/ibizaman/upnpport/archive/0.1.1.tar.gz", "Homepage": "https://github.com/ibizaman/upnpport" }, "release_url": "https://pypi.org/project/UPnPPort/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Open ports in", "version": "0.1.1" }, "last_serial": 3890415, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "eba3e8bd4e3a21d2688a78aeeb948721", "sha256": "741c1d669e54f94ee1481bf25b9db4674eb10896883c037b8beff3798b6ccb8f" }, "downloads": -1, "filename": "UPnPPort-0.1.0.tar.gz", "has_sig": false, "md5_digest": "eba3e8bd4e3a21d2688a78aeeb948721", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4056, "upload_time": "2018-05-23T07:35:45", "url": "https://files.pythonhosted.org/packages/10/9d/4e8c8da1360652697c00204c58d81f83cfc918b81b436ed1e9719eaf786c/UPnPPort-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2ce92367e3575bd5c937f03adb61ae76", "sha256": "12efd8fa180ad1389328c791cd1970e8edf9a793d07e0a03ef9a4fe95835a722" }, "downloads": -1, "filename": "UPnPPort-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2ce92367e3575bd5c937f03adb61ae76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4078, "upload_time": "2018-05-23T07:57:29", "url": "https://files.pythonhosted.org/packages/b8/cf/114e3dfb7b7ceec8400e1910677a8525ffc620a3f69c765186aa9dcf81c9/UPnPPort-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2ce92367e3575bd5c937f03adb61ae76", "sha256": "12efd8fa180ad1389328c791cd1970e8edf9a793d07e0a03ef9a4fe95835a722" }, "downloads": -1, "filename": "UPnPPort-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2ce92367e3575bd5c937f03adb61ae76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4078, "upload_time": "2018-05-23T07:57:29", "url": "https://files.pythonhosted.org/packages/b8/cf/114e3dfb7b7ceec8400e1910677a8525ffc620a3f69c765186aa9dcf81c9/UPnPPort-0.1.1.tar.gz" } ] }