{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4028","repository_url":"https://api.github.com/repos/QubesOS/qubes-issues","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4028/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4028/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4028/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/4028","id":334879480,"node_id":"MDU6SXNzdWUzMzQ4Nzk0ODA=","number":4028,"title":"[Contribution] qvm-expose-port","user":{"login":"niccokunzmann","id":564768,"node_id":"MDQ6VXNlcjU2NDc2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/564768?v=4","gravatar_id":"","url":"https://api.github.com/users/niccokunzmann","html_url":"https://github.com/niccokunzmann","followers_url":"https://api.github.com/users/niccokunzmann/followers","following_url":"https://api.github.com/users/niccokunzmann/following{/other_user}","gists_url":"https://api.github.com/users/niccokunzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/niccokunzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niccokunzmann/subscriptions","organizations_url":"https://api.github.com/users/niccokunzmann/orgs","repos_url":"https://api.github.com/users/niccokunzmann/repos","events_url":"https://api.github.com/users/niccokunzmann/events{/privacy}","received_events_url":"https://api.github.com/users/niccokunzmann/received_events","type":"User","site_admin":false},"labels":[{"id":184545378,"node_id":"MDU6TGFiZWwxODQ1NDUzNzg=","url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20other","name":"C: other","color":"cccccc","default":false},{"id":183969433,"node_id":"MDU6TGFiZWwxODM5Njk0MzM=","url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/19","html_url":"https://github.com/QubesOS/qubes-issues/milestone/19","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/19/labels","id":1284545,"node_id":"MDk6TWlsZXN0b25lMTI4NDU0NQ==","number":19,"title":"Far in the future","description":"AKA when we'll have a lot of time, probably never.\r\nFeel free to pick up any issues here and implement it.","creator":{"login":"marmarek","id":726704,"node_id":"MDQ6VXNlcjcyNjcwNA==","avatar_url":"https://avatars1.githubusercontent.com/u/726704?v=4","gravatar_id":"","url":"https://api.github.com/users/marmarek","html_url":"https://github.com/marmarek","followers_url":"https://api.github.com/users/marmarek/followers","following_url":"https://api.github.com/users/marmarek/following{/other_user}","gists_url":"https://api.github.com/users/marmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/marmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmarek/subscriptions","organizations_url":"https://api.github.com/users/marmarek/orgs","repos_url":"https://api.github.com/users/marmarek/repos","events_url":"https://api.github.com/users/marmarek/events{/privacy}","received_events_url":"https://api.github.com/users/marmarek/received_events","type":"User","site_admin":false},"open_issues":203,"closed_issues":43,"state":"open","created_at":"2015-09-01T17:44:33Z","updated_at":"2018-10-18T00:37:01Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2018-06-22T13:32:26Z","updated_at":"2018-10-18T16:13:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Qubes OS version:\r\n<!-- (e.g., `R3.2`)\r\n     You can get it from the dom0 terminal with the command\r\n         `cat /etc/qubes-release`\r\n     Type below this line. -->\r\n\r\nR3.2\r\n\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n### Affected component(s):\r\n<!-- Type below this line. -->\r\n\r\ndom0\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n---\r\n<!--------------------------->\r\n### Steps to reproduce the behavior:\r\n<!-- Use single backticks (`) for in-line code snippets and\r\n     triple backticks (```) for code blocks.\r\n     Type below this line. -->\r\n\r\n\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n### Expected behavior:\r\n<!-- Type below this line. -->\r\n\r\nI would like to expose a port from a VM to the outside.\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n### Actual behavior:\r\n<!-- Type below this line. -->\r\n\r\nI can read a [long documentation](https://www.qubes-os.org/doc/firewall/#port-forwarding-to-a-qube-from-the-outside-world) and may fail.\r\n\r\n\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n### General notes:\r\n<!-- Type below this line. -->\r\n\r\nI implemented a script `qvm-expose-port` to do the work for me and\r\npublished it on [GitHub](https://github.com/niccokunzmann/qvm-expose-port).\r\n\r\nI am offering it to you and would like to know if it is useful to add this to Qubes.\r\nI am using it because I develop servers I would like to share.\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n---\r\n<!--------------------------->\r\n### Related issues:\r\n<!-- Type below this line. -->\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/431070260","html_url":"https://github.com/QubesOS/qubes-issues/issues/4028#issuecomment-431070260","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4028","id":431070260,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTA3MDI2MA==","user":{"login":"tlaurion","id":827570,"node_id":"MDQ6VXNlcjgyNzU3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/827570?v=4","gravatar_id":"","url":"https://api.github.com/users/tlaurion","html_url":"https://github.com/tlaurion","followers_url":"https://api.github.com/users/tlaurion/followers","following_url":"https://api.github.com/users/tlaurion/following{/other_user}","gists_url":"https://api.github.com/users/tlaurion/gists{/gist_id}","starred_url":"https://api.github.com/users/tlaurion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlaurion/subscriptions","organizations_url":"https://api.github.com/users/tlaurion/orgs","repos_url":"https://api.github.com/users/tlaurion/repos","events_url":"https://api.github.com/users/tlaurion/events{/privacy}","received_events_url":"https://api.github.com/users/tlaurion/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T16:13:25Z","updated_at":"2018-10-18T16:13:25Z","author_association":"CONTRIBUTOR","body":"I think the `qvm-expose-port `command should permit from which netvm (-s) on we want that port and protocol to be available.\r\n\r\nThe use case I have in mind is for the exposition of services only from a defined VPN netvm or sys-whonix for hidden tor services, not opening everything up from the firewall-vm up to the destination qube.\r\n\r\nexample:\r\nqvm-expose-port -a work 8000 -s sys-whonix\r\n\r\n\r\n@jpouellet @niccokunzmann @tasket @Joeviocoe @daktak: which project aims to go mainstream and be packaged?"}}
{"actor":{"display_login":"tlaurion"}}