Neat Posted October 4, 2022 Posted October 4, 2022 Hi everyone, I have a problem that I already had in the past and I didn't find any solution on this forum. Whenever I activate my VPN, I cannot use my internet connection anymore through scripts. For example, without VPN when I do : Ping("www.google.com") it works properly. With VPN ON when I do : Ping("www.google.com") I have @error = 2. I do have an internet connection though because if I manually launch google chrome i can go on google. Same error when I try to do calls with "WinHttp.WinHttpRequest.5.1" => $oHTTP.Send() doesn't respond. It looks like autoit isn't able to use the VPN connection properly. Does anyone know what's going on? Thank you !
Developers Jos Posted October 4, 2022 Developers Posted October 4, 2022 1 hour ago, Neat said: Whenever I activate my VPN, I cannot use my internet connection anymore through scripts. What kind of VPN is this? Does it use a proxy? 1 hour ago, Neat said: Ping("www.google.com") I have @error = 2. Does a ping from the cmd box work when VPN is connected or is that also failing? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Neat Posted October 4, 2022 Author Posted October 4, 2022 Thank you Jos for your quick answer ! 3 hours ago, Jos said: What kind of VPN is this? Does it use a proxy? The name is "Check Point Mobile". The proxy is set to "detect proxy from IE settings" 3 hours ago, Jos said: Does a ping from the cmd box work when VPN is connected or is that also failing? Oh ! I just checked and it also fails.
Developers Solution Jos Posted October 4, 2022 Developers Solution Posted October 4, 2022 5 minutes ago, Neat said: Oh ! I just checked and it also fails. well..... miracles won't happen when using AutoIt3 when it doesn't work with basics. This likely is some sort of proxy setup basically disabling most direct (routed) IP traffic and you get these type of errors. Neat 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Neat Posted October 4, 2022 Author Posted October 4, 2022 Indeed if it doesn't work with cmd it's not autoit related, thanks a lot for your answer ! Have a good day !
Neat Posted October 4, 2022 Author Posted October 4, 2022 Just for the record, the ping problem couldn't be solved (apparently ping and VPN/proxy work hardly together?) BUT, I did solve the following problem : 5 hours ago, Neat said: Same error when I try to do calls with "WinHttp.WinHttpRequest.5.1" => $oHTTP.Send() doesn't respond. with : $oHTTP.SetProxy(2,"ip_address_of_my_proxy")
Developers Jos Posted October 4, 2022 Developers Posted October 4, 2022 Making sense yes. Ping will only work when the default IP gateway allows the port through, which I assume won't be the case when this software works with a proxy likely to interrogate the traffic for dodgy stuff. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
spudw2k Posted October 5, 2022 Posted October 5, 2022 Just chiming in here a little bit. It's possible that the VPN connection is blocking ping / ICMP. If browsing still works, that means that DNS and HTTP/HTTPS is working properly. You could try a trace route (tracert) both on and off VPN to see where the pings stop. Gianni 1 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now