|
Ah, it sounds like it entirely depends on how your credentials are handled, your description doesn't mean much on that light unfortunately.
Regardless, there is definitely a firewall between you and the internal network that you don't have to contend with while on site. I suspect it will boil down to how authentication is handled. If possible, I've found the easiest solution is to use a jump box or terminal server to work from on premises.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
Hmmm,
I'd begin debugging by doing:
route print
(This is probably your problem)
On both networks and making sure you have a route to the SwServer. You are probably on a different IP address range while connected to the VPN and have a different route or no route at all.
You might be able to add a route to SwServer by doing:
route ADD [network] MASK [mask] [gateway]
Keep in mind it could also be a firewall rule on the company network so you may want to get the Systems Administrator involved.
Some additional thoughts:
Make sure the NETBIOS name 'SwServer' resolves to an IP by doing:
nslookup SwServer
If SwServer resolves to an IP address... try manually mapping the drive:
net use N: \\SwServer\Development
charlieg wrote: The odd thing is that I can go a week and things will work flawlessly, then it all comes off the rails....
Many Systems Admins sit in their office and poke buttons and change network security/patch things every day while consuming large amounts of coffee. It's a repeating pattern of fixing 90% of everything and breaking the other 10% of users. Rise and repeat.
Best Wishes,
-David Delaune
|
|
|
|
|
Guys, I really appreciate the suggestions. Since some times I can connect instantly and other times (like right now) it takes 10s of minutes, I don't think it's a firewall. A firewall issue would just say, "no, hell no" and never let me in... ever. That's according to my logic, so I'm ready to be corrected.
For a credential issue, I would think that would play in the same manner as a firewall. I don't think it would be hit or miss?
The routing issue passes the sniff test, and I'll have to dig in to that. I have seen some weird stuff in that area, and just because my client is a $5B company doesn't mean the net admins know what they are doing. Admittedly, I'm not high on their radar.
I have another client that uses different VPN software, and in a BFO I wondered if the two vpn packages were interfering with each other. Sadly, no.
And after 5 min of typing... I can access the network drive...
I'll keep plugging. This is interesting.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Still debugging this issue. This morning, the VPN was completely non-functional. Doing a tracert to the server as well as the route print, I just saw lots of junk - things that made me go hmm...
So, I re-installed the VPN software - no joy. Step 2 was remote the USB connection I have to a hub full of devices (I do embedded development and use some additional usb to ethernet to talk to local hardware). Still nothing. Final step was to power down the laptop, reboot my cable modem start the connection process all over again.
Instant success. The tracert output to the server shows 8 hops- it have been 50+, leading me to believe that perhaps the routing table had been hosed. Or my cablemodem was just in the weeds.
Will monitor
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Just to close this out - it's my gateway.
I have AT&T internet service that looks like this:
street -> cable -> gateway -> Amplifi router -> users
the gateway includes a wireless router and a 4 port gigabit hub. I normally plug directly into the gateway so I don't share bandwidth with the kids in the house. When I cannot connect, I re-boot the gateway and it works for a while, but sooner or later it goes insane.
But, if I connect to the amplifi router, it works 100%.
Enough time lost...
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
We'll be needing to change the ownership and permissions on a few hundred thousand folders & files.
Can it be done in PS (or other) in such a way that any errors encountered are ignored (and logged?) so the process doesn't come to a screeching halt? I fully expect for it to find folders that the creator locked down so tightly that they will require special attention on an individual basis.
I've websearched, but either I'm asking in the wrong way, or no one has ever needed to do this. (Doubtful)
For obvious reasons, I refuse to use the GUI to do it.
|
|
|
|
|
It should be possible using PS but I have not done so far.
You probably want to call Set-Acl[^] for each single file and directory within a try a catch block (about_Try_Catch_Finally | Microsoft Docs[^]). So errors will not let your script terminate and can be logged.
|
|
|
|
|
|
Thank you for the update. It is always good to find a ready-to-use solution which might be also helpful for others.
|
|
|
|
|
Good day all;
I have a Mac Mini Late 2012 with 4GB Ram and i5. The machine is upgraded to 16GB, and might change drive to SSD. I am targeting this machine to be a host machine running Virtual Box on which I will run a Win 10 machine and an Ubuntu Server 16.04. Both these VM’s will be hosting web applications and connecting to the Internet. On Win 10 I will be running IIS and hosting ASP.NET sites. On Ubuntu I have some two PHP/MySQL applications and two other web applications running on own ports (8500 & 8501).
The thinking is that I will route relevant ports to the relevant VM/Port using Virtual Box. My questions:
1. Is this doable with Mac?
2. Do I need to install MacOS Server since the machine will be connected directly to the web?
3. Will I be able to remote into the VM’s directly (eg: ssh into the Ubuntu box)?
4. Will I be able to remote into the Mac to, for example, restart the physical machine or restart Virtual Box?
Thanks
|
|
|
|
|
how to display the graphics in c language?
|
|
|
|
|
|
Simple; you don't.
Graphics aren't code, and code that is currently being executed is not directly translatable to "c language".
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
I've been polite and technical. I don't understand why someone or some bot thinks I'm spamming. I'll avoid being flagged if I know what I'm doing wrong.
|
|
|
|
|
1) You've posted this in the "System Admin" forum, which is about administering systems. You should have posted it in the Bugs & Suggestions forum, or The Lounge.
2) There is an automated system which uses Bayesian probabilities to decide whether it thinks a post is spam or not. Sometimes, it will flag messages as potential spam for no obvious reason. It's nothing personal; you just have to wait for a human being to review the message and allow it to be posted.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
1. OK Bugs and Suggestions
2. TY
|
|
|
|
|
"Sometimes"?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
From what I saw of the aftermath of yesterday's Korean spam attack, "not nearly frequently enough".
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Yesterday showed how speedy the algorithm learns and adapts. The robots will not be taking over any time soon.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
I have a simple test application that allows me to send an email message through an Office 365 account. When I run this application from say my home PC it works fine, but when I run it from any machine on my company's network, it doesn't work.
The application allows for two different methods of sending a message, a simple smtp server address and a webservice. When running the application I get a different error for each method:
- smtp server: Quote: No connection could be made because the target machine actively refused it
- webservice: Quote: Autodiscover service couldn't be located
Our system administrator tells me our firewall is not blocking the port, and has not been able to suggest anything else. We only recently switched from third party Exchange 2010 to Office 365 and our on-premise AD is synced to it. MS Outlook works fine. Our office scanner also cannot send scans to email anymore, which it could through Exchange 2010's smtp server.
I am at a loss, and any help with this issue will be much appreciated.
Regards,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Quote: No connection could be made because the target machine actively refused it Try to get the original error message send by the "target" (an SMTP error message or an ICMP message from a router/firewall at the target). It should be helpful.
|
|
|
|
|
Hi,
Thanks for your reply. I set the application to specifically show smtp errors, but the error remains the same:
Quote: System.Net.Mail.SmtpException: Failure sending mail. -> System.Net.WebException: Unable to connect to the remote server -> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 40.101.88.18:587
Quote: (an SMTP error message or an ICMP message from a router/firewall at the target)
The application works fine when I run it on any machine that is not on our network. Wouldn't that suggest that the error is caused by our own network, but somehow is not interpreted as a remote error?
I can ping 40.101.88.18 normally.
Regards,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Quote: No connection could be made because the target machine actively refused it That means that there is no service listening on the specified port or a firewall is blocking the request (at the target side). When you can connect from other systems (did you use the same server name and port number 587 there?), it must be a firewall that is blocking requests by the source IP (IP is black listed or not white listed).
40.101.88.18 belongs to Microsoft. Which SMTP server name have you specified?
|
|
|
|
|
My first guess was also that the problem is in our firewall, but I only asked our admin about a port being blocked. I will have to ask again about a possible black/white listing. Thanks for that suggestion.
As for the SMTP server, per MickeySoft's instructions I use smtp.office365.com and port 587 or 25. I suppose that address has its own autodiscover protocol. nslookup gives me the specific smtp server name outlook-emeaeast3.office365.com and 9 different IP addresses.
What I have been wondering about is, how MS Outlook contacts exchange online. Why is it not having any problem connecting?
My advice is free, and you may get what you paid for.
|
|
|
|