About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Question & Answer
Question
It is normal in a production environment, database is in a firewall user can't access by desktop. Data Server Manager has to setup in the firewall to monitor the production environment, but how to allow user to access the Data Server Manager use customer local browser?
Answer
In this article we share a best practice use nginx to bypass the firewall and follow the security process.
Problem:
An example for the solution architecture:
An example for nginx configure, the nginx server is at 9.30.33.144, and setup with 8080 port. and Data Server Manager is at 9.30.33.125 server and use 11080 port for http.Below is the sample for nginx.conf file
... #setup support for websocket,required after 2.1.3 map $http_upgrade $connection_upgrade { server { # Load configuration files for the default server block. location / { location /ots{
#Required after 2.1.3 location /message-service/ { error_page 500 502 503 504 /50x.html; ... |
Besides that, you also need update iptables on the server Data Server Manager installed. Required after 2.1.3
sudo iptables -t nat -I OUTPUT --source 0/0 --destination 0/0 -p tcp --dport 8080 -j REDIRECT --to-ports 11080 sudo iptables -A INPUT -p tcp --dport 8080 -j ACCEPT |
Now user is access using Data Server Manager by 9.30.33.144 which is the nginx server.
[{"Product":{"code":"SS5Q8A","label":"IBM Data Server Manager"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"},{"code":"PF002","label":"AIX"}],"Version":"2.1.3;2.1.4;2.1.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
More support for:
IBM Data Server Manager
Software version:
2.1.3, 2.1.4, 2.1.5
Operating system(s):
Linux, Windows, AIX
Document number:
563587
Modified date:
16 June 2018
UID
swg22005263
Manage My Notification Subscriptions