mister.magoo (1/31/2015)
That sounds an awful lot like you have this server sat "on the internet", so please make sure you don't open the firewall!Also, it sounds like you are trying to use the public IP address even when connected via the VPN, which would be wrong.
You need to determine the internal IP address of the server - one that is accessible via the VPN, not the public IP.
This internal IP address should be the one you use when you are trying to connect SSMS via the VPN.
Ditto to what Mister Magoo said. Internally you might open up network communications 1432, externally inside a firewall the 'public' would normally not be able to access servers inside. Also you can also change the port as someone else mentioned by going to sql configuration and tcp/ip settings to change that. You might need to open up the newly assigned port though on your windows server if they are locked down.
--------------------------------------------------
...0.05 points per day since registration... slowly crawl up to 1 pt per day hopefully
Windows authentication will not work. The server is not on a domain, it cannot authenticate the user to anything.
Try this.
1. Try creating an ODBC connection from your box.
2. Add a SQL login. Make it sa.
Try connecting to the server using this login.
In the servername in SSMS, add the port after the IP separated by a comma.
111.11.11.111,14XX
If it connects, then reduce the permissions of the login and see if it works.
You do not need to open the firewall, but you will need to create a rule from the VPN to the server.
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
Hi,
Yes, the server is directly on the internet. I checked ipconfig and ther eisn't an internal IP range defined. I'll check to see if the data centre can apply one.
~L
Regards,
Lee
Well, trying to set this all up didn't quite work to plan. I ended up getting locked out of the server completely which was a bit of a bind.
So, could it be that I can set up the firewall, and restrict access by client IP?
Regards,
Lee
Is the VPN directly into the server?
If so, connect the VPN, then on the client, open a dos prompt and type
ipconfig /all | find "DHCP Server"
Hopefully, this will reveal the IP address the server is using for the VPN network.
Now, remote desktop onto the server and check whether SQL Server is listening on that network (either through the configuration manager or by just trying to connect to the address you got from "DHCP Server" using SSMS).
If it is listening ok, try to connect to that "DHCP Server" address using SSMS from the client.
MM
select geometry::STGeomFromWKB(0x0106000000020000000103000000010000000B0000001000000000000840000000000000003DD8CCCCCCCCCC0840000000000000003DD8CCCCCCCCCC08408014AE47E17AFC3F040000000000104000CDCCCCCCCCEC3F9C999999999913408014AE47E17AFC3F9C99999999991340000000000000003D0000000000001440000000000000003D000000000000144000000000000000400400000000001040000000000000F03F100000000000084000000000000000401000000000000840000000000000003D0103000000010000000B000000000000000000143D000000000000003D009E99999999B93F000000000000003D009E99999999B93F8014AE47E17AFC3F400000000000F03F00CDCCCCCCCCEC3FA06666666666FE3F8014AE47E17AFC3FA06666666666FE3F000000000000003D1800000000000040000000000000003D18000000000000400000000000000040400000000000F03F000000000000F03F000000000000143D0000000000000040000000000000143D000000000000003D, 0);
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply