{"action":"created","issue":{"url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/260","repository_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt","labels_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/260/comments","events_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/260/events","html_url":"https://github.com/vagrant-libvirt/vagrant-libvirt/issues/260","id":46748524,"number":260,"title":"Port forwarding ignores protocol (udp)","user":{"login":"mcaulfield","id":1724199,"avatar_url":"https://avatars.githubusercontent.com/u/1724199?v=3","gravatar_id":"","url":"https://api.github.com/users/mcaulfield","html_url":"https://github.com/mcaulfield","followers_url":"https://api.github.com/users/mcaulfield/followers","following_url":"https://api.github.com/users/mcaulfield/following{/other_user}","gists_url":"https://api.github.com/users/mcaulfield/gists{/gist_id}","starred_url":"https://api.github.com/users/mcaulfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcaulfield/subscriptions","organizations_url":"https://api.github.com/users/mcaulfield/orgs","repos_url":"https://api.github.com/users/mcaulfield/repos","events_url":"https://api.github.com/users/mcaulfield/events{/privacy}","received_events_url":"https://api.github.com/users/mcaulfield/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-24T15:09:06Z","updated_at":"2016-04-29T08:42:41Z","closed_at":"2016-04-25T12:39:27Z","body":"Working with a virtual machine that hosts a DHCP server listening on UDP port 67. Trying to forward from host:8067 to guest:67. It looks like vagrant-libvirt sets up a regular SSH TCP tunnel and ignores the protocol attribute.\r\n\r\nFrom my Vagrantfile:\r\n```\r\nconfig.vm.network \"forwarded_port\", guest: 67, host: 8067, protocol: 'udp'\r\n```\r\n\r\nFrom ps -elf  | grep 8067:\r\n```\r\n4 S root      4205     1  0  80   0 - 19125 poll_s 10:28 pts/8    00:00:00 ssh -o User=vagrant -o Port=22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o ForwardX11=no -o IdentityFile=/root/.vagrant.d/insecure_private_key -L localhost:8067:192.168.121.102:67 -N 192.168.121.102\r\n```"},"comment":{"url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/comments/215660181","html_url":"https://github.com/vagrant-libvirt/vagrant-libvirt/issues/260#issuecomment-215660181","issue_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/260","id":215660181,"user":{"login":"electrofelix","id":912324,"avatar_url":"https://avatars.githubusercontent.com/u/912324?v=3","gravatar_id":"","url":"https://api.github.com/users/electrofelix","html_url":"https://github.com/electrofelix","followers_url":"https://api.github.com/users/electrofelix/followers","following_url":"https://api.github.com/users/electrofelix/following{/other_user}","gists_url":"https://api.github.com/users/electrofelix/gists{/gist_id}","starred_url":"https://api.github.com/users/electrofelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrofelix/subscriptions","organizations_url":"https://api.github.com/users/electrofelix/orgs","repos_url":"https://api.github.com/users/electrofelix/repos","events_url":"https://api.github.com/users/electrofelix/events{/privacy}","received_events_url":"https://api.github.com/users/electrofelix/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T08:42:41Z","updated_at":"2016-04-29T08:42:41Z","body":"Not suggesting we should support one of the three listed methods, I would only considering noting them in documentation wish to point users in a direction to allow them to solve. Previous post is really just info for anyone searching for UDP port forwarding on vagrant-libvirt and just needs a pointer on where to go next.\r\n\r\nFor qemu hostfwd_add, I've yet to really investigate it's possibilities (I do have a bridged set up handy so I'll test that), so it's just a pointer for now in case I don't get to look at it and someone else is able to pick it up.\r\n"}}