Closed LordxSnow closed 10 years ago
@LordxSnow thanks for ninja-editing your issue - it's now easier to understand what you're trying to achieve.
Your issues are most likely due to your network configuration rather than BeEF.
It could be due to an issue with DMZ mode on your router or perhaps the ISP filtering the ports. Try forwarding the ports instead.
To verify, try opening another service on a standard port unlikely to be filtered by an ISP (try 80 or 8080) then port scanning your WAN IP address from a remote host.
In regards to the public
option in the config, it MUST be set if you're behind NAT, for example:
public: "<WAN IP>"
public_port: "3000"
BeEF should now be accessible from
Note that while you're testing the configuration, if you hook a browser on the LAN, even if you use the WAN IP address, then the hooked browser will be shown as connecting from the LAN IP and not your WAN IP.
No response from @LordxSnow. Closing
Right, so, I wanna use BeEF over WAN instead of LAN. A relative of mine has given me written permission to do a Pentest using BeEF against their system. However, I cannot seem to get it to give me a URL that anyone outside my network can access. I've already set both my VM-Machine on (Bridged) and then set the VM-Machine's IP in DMZ-Mode on My Router/Modem so all ports are open. Yet, she gets nothing when trying to access http://(MyIP):3000/demos/basic.html any help getting this to work over WAN would be great. I even went into the config below and set the Host to my public ip and it still doesn't work. I even tried the NAT Public ip option. Got nothing.
Copyright (c) 2006-2014 Wade Alcorn - wade@bindshell.net
Browser Exploitation Framework (BeEF) - http://beefproject.com
See the file 'doc/COPYING' for copying permission
BeEF Configuration file
beef: version: '0.4.5.0-alpha'
More verbose messages (server-side)