{"action":"created","issue":{"url":"https://api.github.com/repos/beefproject/beef/issues/1305","repository_url":"https://api.github.com/repos/beefproject/beef","labels_url":"https://api.github.com/repos/beefproject/beef/issues/1305/labels{/name}","comments_url":"https://api.github.com/repos/beefproject/beef/issues/1305/comments","events_url":"https://api.github.com/repos/beefproject/beef/issues/1305/events","html_url":"https://github.com/beefproject/beef/issues/1305","id":179624256,"number":1305,"title":"Questions about BeeF  over WAN","user":{"login":"Amber234234","id":22480626,"avatar_url":"https://avatars.githubusercontent.com/u/22480626?v=3","gravatar_id":"","url":"https://api.github.com/users/Amber234234","html_url":"https://github.com/Amber234234","followers_url":"https://api.github.com/users/Amber234234/followers","following_url":"https://api.github.com/users/Amber234234/following{/other_user}","gists_url":"https://api.github.com/users/Amber234234/gists{/gist_id}","starred_url":"https://api.github.com/users/Amber234234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amber234234/subscriptions","organizations_url":"https://api.github.com/users/Amber234234/orgs","repos_url":"https://api.github.com/users/Amber234234/repos","events_url":"https://api.github.com/users/Amber234234/events{/privacy}","received_events_url":"https://api.github.com/users/Amber234234/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-27T21:51:29Z","updated_at":"2016-10-23T09:46:01Z","closed_at":"2016-10-23T09:46:01Z","body":"a) I have seen some videos about using BeeF over WAN and they say the user must forward some ports, especifically : 3000, 5432, 80, 53 and 55552. Also,  the user's public ip must be placed on the \"dns_host\"  and \"db_host\" config.yaml fields.  \r\nb) There are some fields called \"public\"(public ip I asume) and \"public_port\"(public forwarded port I asume) that are  unused which follow comentaries like #If running behind  a NAT.... and # port setting is experimental... \r\nMy questions are:\r\n¿Do I have to use both configurations a) and b) or just one of them?\r\nOn the #HTTP server block... does the field \"port\" must be the same as the one forwarded?\r\nIf ports aren't forwarded but config.yaml has been configured with public values, wouldn't the (public ip)(public port)/ui/panel should appear on the attacker's machine instead of the usual 127.0.0.1:3000/ui/panel?\r\n  \r\nThanks!"},"comment":{"url":"https://api.github.com/repos/beefproject/beef/issues/comments/255578842","html_url":"https://github.com/beefproject/beef/issues/1305#issuecomment-255578842","issue_url":"https://api.github.com/repos/beefproject/beef/issues/1305","id":255578842,"user":{"login":"bcoles","id":434827,"avatar_url":"https://avatars.githubusercontent.com/u/434827?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoles","html_url":"https://github.com/bcoles","followers_url":"https://api.github.com/users/bcoles/followers","following_url":"https://api.github.com/users/bcoles/following{/other_user}","gists_url":"https://api.github.com/users/bcoles/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoles/subscriptions","organizations_url":"https://api.github.com/users/bcoles/orgs","repos_url":"https://api.github.com/users/bcoles/repos","events_url":"https://api.github.com/users/bcoles/events{/privacy}","received_events_url":"https://api.github.com/users/bcoles/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T09:46:00Z","updated_at":"2016-10-23T09:46:00Z","body":"Hi @Amber234234 that's unfortunate. Most cheap SOHO grade routers will let you forward ports or have an alternate DMZ setting you can use.\r\n\r\nIt may also be your ISP. Some ISPs prevent access to specific ports on the WAN interface (such as SMB and ports commonly used by malware: 4444,1337,etc). You could try using non-standard or ephemeral ports.\r\n\r\nClosing this issue."}}
{"actor":{"display_login":"bcoles"}}