Replies: 7 comments 1 reply
-
I've used nuclei with Mullvad, PIA and ProtonVPN with no issues on Debian, Ubuntu and Fedora (OpenVPN and Wireguard). You could try a different node (Google might be blocking or ignoring requests from some VPN providers because of abuse), try limiting the amount of requests, and lastly try using your own DNS resolver (I have a cluster of 6 Unbound servers behind a load balancer). Some VPN servers can't (or won't) handle thousands of DNS and HTTP requests per second. Good luck out there! |
Beta Was this translation helpful? Give feedback.
-
@vladosstrawberry could you share the exact setup to replicate this behaviour? |
Beta Was this translation helpful? Give feedback.
-
@geeknik I just said that google is not blocking me. (google is just an example). I limited requests to 1 request per second and it's not working. If I don't use Mullvad then everything is okay. @bauthard How do I do that? Just when I am under the VPN connection then nuclei doesn't want to pass the traffic through that connection. It's possible to scan only those hosts that are inside VPN, not those to which you get through the tunnel |
Beta Was this translation helpful? Give feedback.
-
@vladosstrawberry this should be fixed here, thanks for reporting this. |
Beta Was this translation helpful? Give feedback.
-
@ehsandeep I check this fix under my corporate VPN (GlobalProtect) using nuclei 2.3.0. When trying to run some templates against internal host, I'm still getting error I found workaround, when using |
Beta Was this translation helpful? Give feedback.
-
@kpoow you can also use |
Beta Was this translation helpful? Give feedback.
-
I ran into a similar issue and my fix was to specify the resolver used when connected to the VPN:
You can find the resolver by doing a dig on your target and checking the SERVER part of the response:
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
It seems that nuclei doesn't resolve the hosts when it's used under a VPN.
While trying to scan https://google.com with a verbose flag enabled - nuclei output:
If it's scanned using -debug option, then we see that it sends HTTP request but never gets a response.
I have verified that this issue persists even if I limit nuclei to 1 request per second and used a normal User-Agent.
I am using a Mullvad VPN with openvpn option (used different options, while testing).
If I use curl or a browser - everything is okay. If I scan without a vpn - then everything is okay. But truth to say I need to use a vpn for some targets
Nuclei version
2.2.0
Screenshot of the error or bug
Beta Was this translation helpful? Give feedback.
All reactions