cancel
Showing results for 
Search instead for 
Did you mean: 

Relay Server + Proxy Issue + Public Local IP Issue

Former Member
0 Kudos

Dear All,

I appreciate if anybody can help me on this.

1- Installation / Configuration Details

- We have set up SMP 2.2.4 Server and Sybase Relay Server at one of our clients.

- We have developed iOS Object API application that uses MBOs to fetch data from SMP Server.

- We have configured Client's Microsoft Active Directory (AD) as a security provider with our SMP.

- We are using Automatic registration in SCC in order to connect the devices (iPad in our case) with SMP server.

2- Requirements

The requirement is to connect with Relay Server (that internally communicates with SMP Server) with Local Network IP when inside Client's network and connect through Public IP when outside Client's Network (3G, 4G or other Wifi)


3- Problem / Issues

1- Our client uses the Proxy Server when users connects with the Client's Wifi. iPad Device is not able to connect to Relay Server when Proxy is ON. However, when Proxy is Off we are able to connect to the Relay Server.

We did not find any thing in SMP Server or Device to bypass the proxy from Client Device.

2- When user is registered with Device in Sybase Control Centre (SCC) with Relay Server on Local IP, he is unable to connect with Public IP unless we do the following.

a- Unregister application on the Device.

b- Connect and Register the connection again from Device.

Are these recommended steps If we need to switch the Relay Server IP i.e. Public or Local?

Thanks In Advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Umer,

On Device side, you need to provide proxy details into your network configuration. In case of Android device, tap of wiki network you are using and select network configurations and enter proxy details.

Your point of contact (from device) will be always relay server. Now, if you are in internet (device) then relay server would be accessible without any proxy hence it will connect without any problem.

When you are in some network where you have to provide proxy then, you need to modify your wiki network setting and then relay server would be reachable.

You should always use the Public IP of relay server.

Regards,

Abhishek Joshi

Former Member
0 Kudos

Hi Abhishek,

Thanks for your reply.

Following are the restrictions on the client side.

1- Relay Server (Public IP) is not accessible within Client Intranet due to their policy. One option here is to connect to VPN on iPad once outside Client's Network but than PROXY issue comes.

2- Client want to browse the internet also while on Device and it is only possible when Proxy in ON. However, Relay Server (Local IP) is accessible only when Proxy is OFF.

3- We are only working with iPad device and there is no option of bypassing local addresses ( in our case Local IP of Relay Server) within iPad settings.

So, finally, Is there any way to bypass Local Addresses from Device if PROXY is ON???

OR

is there a cleaner way to connect via LOCAL / PUBLIC IP from Device???

0 Kudos

Hi Umer,

If you give proxy settings in a proxy network then you will be able to connect both Local and public IP. To reach non-proxy URL's (local), In proxy settings for the network, you can setup non-proxy hosts as well.

Regards,

Abhishek Joshi

0 Kudos

Hi Umer,

Acording to my understanding of complex networks (DMZ, Corporate network and Internet). From Corporate network you can access DMZ zone IP (same IP would be accessible from internet as well) with or with out proxy. Thats why relay server will be placed in DMZ netwok and ports will be exposed in to internet so that any device can access this. Now one option is that you also expose same ports to your corporate network as well so that you dont need to go via proxy.

But in worst case, when your relay server ports are not exposed to corporate network then you will go though proxy from corporate network.

This is usual network tactics that when you are in internet then you dont need proxy (if you access from your home using broadband) and if you access some site which is in internet from corporate network then it should go via some proxy.

You can explore on iPad auto proxy PAC file to bypass local sites with proxy.

Regards,

Abhishek Joshi