when i try to connect to HTB machines its hanging on initialization sequence completed.
but when i open another terminal and run ifconfig tun0 its showing iam connected to HTB machines ip adress. But iam unable to access HTB machines. please help me out.
Can you share the output of what you are seeing? Are you seeing this error when using openvpn? If you are able to connect to the VPN, what’s the output of ping <machine ip>, or traceroute <machine ip>.
When asking for technical assistance, it’s always a good idea to provide as much information as possible ahead of time to ensure you get prompt and efficient assistance
can someone can help us on this… it would be great.
Possibly, but you need to help us to help you. For example, did you see what @mav3n wrote?
@mav3n said:
Can you share the output of what you are seeing? Are you seeing this error when using openvpn? If you are able to connect to the VPN, what’s the output of ping <machine ip>, or traceroute <machine ip>.
When asking for technical assistance, it’s always a good idea to provide as much information as possible ahead of time to ensure you get prompt and efficient assistance
Without some information, I don’t know how people can assist you.
What is your IP address on tun0 (or whatever interface you are connecting with)
What is the output of traceroute to the HTB box you want to connect
Are you VIP/VIP+ and if so, have you started the machine
Have you ever been able to connect or is it always like this
What output are you getting from the tool you think is causing the problem and what do you think you should be getting (if you are getting “no output”, then double check you’ve run a command as there should be something ).
---------------and its not pinging…
the machine is active and im not VIP in hackthebox.eu
when i tried to scan below otput is getting
Host discovery disabled (-Pn). All addresses will be marked ‘up’ and scan times will be slower.
Starting Nmap 7.91 ( https://nmap.org ) at 2021-03-23 12:07 EDT
Nmap scan report for 10.10.10.216
Host is up (3.4s latency).
All 1000 scanned ports on 10.10.10.216 are filtered
Nmap done: 1 IP address (1 host up) scanned in 99.08 seconds
Welcome. Hopefully people will be able to help you now.
2021-03-23 12:05:16 Preserving previous TUN/TAP instance: tun0
2021-03-23 12:05:16 Initialization Sequence Completed
after this its not even moving forward!
That looks basically correct. It should mean your traffic is being routed over the VPN. It looks like the route modifications took place.
What happens if you run ifconfig?
im connected to my phone hotspot!
the traces are getting failed at my gateway
4 192.168.65.248 (192.168.65.248) 47.316 ms 192.168.65.252 (192.168.65.252) 47.288 ms 192.168.65.246 (192.168.65.246) 47.262 ms
5 192.168.65.249 (192.168.65.249) 47.236 ms 192.168.65.251 (192.168.65.251) 47.209 ms 47.183 ms
This is a problem. It is going to a 192.168/16 address which means it isn’t going over the VPN.
Either your VPN has closed accidentally or it has been somehow killed, or it isn’t working.
Try route to see if the routing table has anything for 10/8 addresses.
---------------and its not pinging…
Ping isn’t very useful for this.
the machine is active and im not VIP in hackthebox.eu
OK
when i tried to scan below otput is getting
Nmap cant see it because the routing table is sending it to 192.168/16 addresses which means it will never get to the server.
and this time ping is also working>>>>
4 bytes from 10.10.10.216: icmp_seq=3 ttl=63 time=250 ms
64 bytes from 10.10.10.216: icmp_seq=4 ttl=63 time=174 ms
64 bytes from 10.10.10.216: icmp_seq=5 ttl=63 time=489 ms
64 bytes from 10.10.10.216: icmp_seq=6 ttl=63 time=193 ms
these are the traces im getting now…
─$ traceroute 10.10.10.216
traceroute to 10.10.10.216 (10.10.10.216), 30 hops max, 60 byte packets
1 10.10.14.1 (10.10.14.1) 172.012 ms 181.962 ms 181.948 ms
2 * * *
3 * * *
4 * * *
5 * * *
is this connected to HTB VPN successfully… and now im gonna try enumeration…
while connecting through USB to my mobile its working it seems … on wifi…
its not routing properly…
nmap iis also able to see …
Thanks for the help… this helps us to learn and to help someone,… inspiring…