Problem
I have a Kali VM installed in Virtualbox. I need to access a website hosted by a webserver on my VM from the internet. The URL is <"MyPublicIp">/exploitCsrf.html
What I've tried
- Reaching the webserver from the VM host does not work
By now the network setting in VirtualBox is NAT without port forwarding I've access from my VM to internet
- Reaching the webserver from the internet does not work
Logic since I can't join my VM even from the lan
Reaching the webserver from the VM using the IP's
127.0.0.1,10.0.2.x(LAN IP) does work, but it does not with the public IP99.104.x.xI've asked a fixed IP from my ISP. It takes 3 days to be set.
Question
How can I configure access from the internet to my Kali VM?
I found that it's not openandBy now the web server ... just not a machine outside my lan, but later you saythe server hosting Virtualbox is reachable form the internet. Could you perhaps explain more what your configuration is? How do you diagnose that the server is reachable from outside, but the VM webserver is not? Also, did you try this? – Saaru Lindestøkke Apr 06 '20 at 13:54