Solved How to access the server resources from the internet on a different network (1 Viewer)

nector

Member
Local time
Today, 03:03
Joined
Jan 21, 2020
Messages
465
I'm not sure whether I got a response on this, I have staff who are relatively new and so are not competent to process the landed costing, since we are using the cloud accounting software, I'm able to see their work where we are based. The problem here how to approve their work digitally since the WAR file which has signatures can only be accessed by using the server via local area network by doing the following:
(1) Reference the IP address of the server
(2) Foward the port number on the server side to accept any call

The above method works very well on local area network, but fail on wide area network, any idea on how to do it.

(1) Remote Desk Connection is not the answer because the users will not opportunity to see what I will be doing on their machine.
 
If your network staff has blocked access to the required resources across the WAN (which I can't say is a surprise), then you have a problem. The "fail on wide area network" indicates that at one of your network boundary routers (the one marking the line-in-the-sand between WAN and LAN, probably), there is either a generic or specific "DENY" entry that is blocking your access.

There is the possibility that you could build a web page that is local to your WAR (Web App Resource) file do this task for you. The problem is that if this kind of access is blocked by your security people, then you have to talk to them to determine an acceptable way to handle this problem. At a minimum I would expect that they demand the use of HTTPS protocol as part of their requirements.

Note also that if your boss is the person who wants this done, you might have to ask for the boss to offer some type of influence by talking to the security people, telling them that it is a legit business requirement. If they won't listen to you, then this becomes your boss's problem. Part of handling security mazes is to have the right level of person involved in the discussion, and usually us poor low-level folks aren't the right level.
 
Well said the doc man and highly appreciated. Just for curiosity's sake, since I'm able to access the resources on the local network by do the following

(1) "http://192.168.xxx.x.xx:8080/XXXXXXXXXXXXXXXXXXXXX"

Code:
Dim Request As Object
Dim stUrl As String
Dim Response As String
Dim requestBody As String
stUrl = "http://"192.168.77869.333:8080/xxxxxxxxxxxxxx"
Set Request = CreateObject("MSXML2.XMLHTTP")
requestBody = string
    With Request
        .Open "POST", stUrl, False
        .setRequestHeader "Content-type", "application/json"
        .send requestBody
        Response = .responsetext
    End With
If Request.Status = 200 Then
MsgBox Request.responsetext, vbInformation, "Internal Audit Manager"

Set qdf = Nothing
Set prm = Nothing

As long as the port 8080 is forwarded on the server using inbound rule and the IP address matches that of the server and remain static it works well, no issue

For public internet what if I use the same method and just replace the server IP address which we get by using ipconfig to public ip address which we get by going through google and type in WHAT IS MIY IP ADDRESS

Example assuming my public IP address is 45.117.88889.56

Code:
Dim Request As Object
Dim stUrl As String
Dim Response As String
Dim requestBody As String
stUrl = "http://" 45.117.88889.56 :8080/xxxxxxxxxxxxxx"
Set Request = CreateObject("MSXML2.XMLHTTP")
requestBody = string
    With Request
        .Open "POST", stUrl, False
        .setRequestHeader "Content-type", "application/json"
        .send requestBody
        Response = .responsetext
    End With
If Request.Status = 200 Then
MsgBox Request.responsetext, vbInformation, "Internal Audit Manager"

Set qdf = Nothing
Set prm = Nothing


Example

(1) "http://my public ip addresst:8080/XXXXXXXXXXXXXXXXXXXXX"
 
Why ask others who have no possible way to test your network for you? It's your network, what happens when you try it?
 
@ GPGeorge your response is well respected thank you
 
@ GPGeorge your response is well respected thank you
Seriously, what happens when you try it? That can go a long way towards helping others help you deal with any problems that arise.
 
After you have tested it...
I suspect you won't get anywhere if your network has any sensible security settings.

The only way this might work is if you installed a secure VPN and log into it from the other networks.
 

Users who are viewing this thread

Back
Top Bottom