new to this and I can’t seem to connect to any machines in browser even though I have my ovpn set up and running. I’m using Kali Linux in a vm if that helps.
@Ecstasyy please try to ping any of the IPs in the machine section and if you receive back packets then you can start nmap to scan the machine you want to start with. If this doesn’t help you than you re-download your connection pack and try again and if this doesn’t help again, reinstall your kali VM.
Hope I helped
good luck
Do you have a nat connection in the VM?
If you do ifconfig is your ip in the same range as your host pc
example: kaliVM 192.168.1.15 and host pc 192.168.1.10
If not change the VM Box internet settings in VMware or Virtualbox
If you do it this way you can setup a proxy in burp and a proxy in your host pc browser to go to burp, that way you can reach the servers through your main PC. Personally I find this method easier than using the VM’s Browser
Hi there…Can you please try to help me out with this??..ok…i figured out how to connect to the HTB VPN through a proxy and sorted the connection issue by amending the actual .ovpn file by adding the proxy info ; So basically now I CAN connect to my account and check that I AM ACTUALLY CONNECTED TO THE HACKTHEBOX VPN network and I can also ping the to the machines on the terminal; however i just still cannot access any machine!!! I mean when I type the IP address (of the HTB machine) on the browser I get an ‘‘access denied’’ from the proxy I am using …is getting frustrating…and I can’t relly get across anything useful on the web on how to sort out this issue…
ny sort of info that could point me to the right direction would be appreciated
thanks a lot
I can relate, happened to me couple of times. Killing the process did the job (pkill openvpn).
Hi everyone,
I got resolve this issue, in my case i add “tun-mtu 1300” in my file.ovpn file without quotes .
my router does not support higher mtu & i need to make that lower, your case might be different.
gud Luck
I connect the htb lab through openvpn, it show me online on the web, then i try to open the machine’s website, it doesn’t seem to open. After all this, i try to ping the box but it fortunately works but the website is not opening
@theak said:
I connect the htb lab through openvpn, it show me online on the web, then i try to open the machine’s website, it doesn’t seem to open. After all this, i try to ping the box but it fortunately works but the website is not opening
When you say it doesn’t seem to open, what does your browser say? The error message is likely to be quite useful here.
How confident are you that the box you are attacking has a webserver running?
Type your comment> @TazWake said:
I scan the machine with Nmap, which shows me, there’s a web server that is hosted on port 80 but the webpage is not opening, it continuously buffering but it’s not opening
@theak said:
Type your comment> @TazWake said:
I scan the machine with Nmap, which shows me, there’s a web server that is hosted on port 80 but the webpage is not opening, it continuously buffering but it’s not opening
When the browser gives up and shows an error message what is it? For example,
- HTTP 404: the page you have requested doesn’t exist but the server is responding so you can check for other things.
- HTTP 5xx: The server might be broken and need a reset.
- Hostname not found: you need to check how you are requesting the page and you might need to modify the host request header.
etc
Run nmap with -sC -sV
set and check what the server response is on that port, that is often useful to determine what you need to request.
I’m having the exact same issue, not sure what the problem is. I can curl the website, but not load it up in my chrome or firefox browser, even in incognito mode.
What error code are you getting in the browser?
All fixed now, my problem was that the vpn on my terminal was separate to the browser vpn, so the connection would just timeout.
I think I’m having a similar problem. How did you change the VPNs on the terminal and browser to be the same?
Have been running into a similar issue sometimes, I am connected via HTB VPN and can succesfully ping the target host via the terminal, but for some reason the vpn connection doesn’t take in Burp Suite and naturally I am not able to connect to the target host. If I check the IP that the burp suite browser is connecting from it will show my router ip instead of the tun0 vpn ip.
Does anybody have an idea how to fix this?