ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQIPT- firewall rules

Post new topic  Reply to topic
 MQIPT- firewall rules « View previous topic :: View next topic » 
Author Message
mq__quest
PostPosted: Sat Dec 24, 2022 7:01 am    Post subject: MQIPT- firewall rules Reply with quote

Apprentice

Joined: 21 Aug 2017
Posts: 48

Hello,

I thought one of the benefits of placing MQIPT in DMZ between the external clients and internal qmgrs is reducing the no. of firewall rules.

Although the no. of IPs reduce, each inbound and outbound connection will still need a separate port on the MQIPT host and a separate firewall rule is needed for each of these . So it doesn't really reduce the no. of firewall rules required, correct?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Dec 24, 2022 8:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Not quite.

You will still need to open the firewall between MQIPT and all your outside connections, but you will only need to open the firewall between MQIPT and your MQ Server once (per port).

The biggest advantage is to have a proxy in the DMZ with no messages at rest in the DMZ.


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Sat Dec 24, 2022 8:13 am    Post subject: Re: MQIPT- firewall rules Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9396
Location: US: west coast, almost. Otherwise, enroute.

mq__quest wrote:
Hello,

I thought one of the benefits of placing MQIPT in DMZ between the external clients and internal qmgrs is reducing the no. of firewall rules.

Hmmmm. Not sure why you thought that. MQIPT is just another node in your network, and not a firewall replacement. MQIPT in a DMZ allows for filtering messages before they enter your business network.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
hughson
PostPosted: Thu Dec 29, 2022 12:33 am    Post subject: Re: MQIPT- firewall rules Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

mq__quest wrote:
I thought one of the benefits of placing MQIPT in DMZ between the external clients and internal qmgrs is reducing the no. of firewall rules.

If you make use of the HTTP tunnelling feature you may be able to utilise existing firewall rules for existing HTTP proxies and not need to add any new rules at all.

If you use the Channel concentrator feature than you will need fewer firewall rules.

This is a good overview page - although perhaps you have already seen it?

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
mq__quest
PostPosted: Fri Dec 30, 2022 12:11 am    Post subject: Re: MQIPT- firewall rules Reply with quote

Apprentice

Joined: 21 Aug 2017
Posts: 48

hughson wrote:

If you make use of the HTTP tunnelling feature you may be able to utilise existing firewall rules for existing HTTP proxies and not need to add any new rules at all.

Morag


per the doc.https://www.ibm.com/docs/en/ibm-mq/9.2?topic=thru-configuring-http-tunneling

QM1-->MQIPT1-->MQIPT2-->QM2

MQIPT1
[route]
ListenerPort=1415
Destination=10.100.6.7
DestinationPort=8080
HTTP=true
HTTPServer=10.100.6.7
HTTPServerPort=8080

MQIPT2
[route]
ListenerPort=8080
Destination=Server1.company2.com
DestinationPort=1414

In this scenario, just 1 port (8080) is suffecient, but what if we have more than 1 sending qmgrs? we need more that one port, right?
Or can we tunnel connections from all the sender qmgrs through the single http tunnel using the port 8080?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Dec 30, 2022 8:22 am    Post subject: Re: MQIPT- firewall rules Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9396
Location: US: west coast, almost. Otherwise, enroute.

mq__quest wrote:
In this scenario, just 1 port (8080) is suffecient, but what if we have more than 1 sending qmgrs? we need more that one port, right?

Not necessarily. A single MQIPT instance can act as a concentrator for multiple inbound connections.
mq__quest wrote:
Or can we tunnel connections from all the sender qmgrs through the single http tunnel using the port 8080?

See above. Your workload and aversion to SPOF (single point of failure) should be factors in your configuration.

Good MQIPT slide show https://www.mqtechconference.com/sessions_v2015/MQTC_v2015_MQ_IPT.pdf
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
mq__quest
PostPosted: Mon Jan 02, 2023 4:50 am    Post subject: Re: MQIPT- firewall rules Reply with quote

Apprentice

Joined: 21 Aug 2017
Posts: 48

bruce2359 wrote:

Not necessarily. A single MQIPT instance can act as a concentrator for multiple inbound connections.
[/url]


Yes, a single instance can be used for multiple inbound connections. But, I'm talking about the no. of routes/listeners using the HTTP tunneling feature.

When there are multiple sender IPs and multiple receiver/destination IPs, can a single route/listener be used for directing the connections from these senders to their receivers?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jan 02, 2023 7:15 am    Post subject: Re: MQIPT- firewall rules Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

mq__quest wrote:
bruce2359 wrote:

Not necessarily. A single MQIPT instance can act as a concentrator for multiple inbound connections.
[/url]


Yes, a single instance can be used for multiple inbound connections. But, I'm talking about the no. of routes/listeners using the HTTP tunneling feature.

When there are multiple sender IPs and multiple receiver/destination IPs, can a single route/listener be used for directing the connections from these senders to their receivers?

Your are talking about an m to n connection model. The HTTP Proxy however, as I understand it, is an m to 1 model.
Hope this helps
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Mon Jan 02, 2023 4:36 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9396
Location: US: west coast, almost. Otherwise, enroute.

Quoting from https://www.ibm.com/docs/en/ibm-mq/9.0?topic=ms81-how-mqipt-works
Quote:
Multiple queue managers
MQIPT can be used to allow access to more than one destination queue manager. For this to work, there must be a mechanism to tell MQIPT which queue manager to connect to, so MQIPT uses the incoming TCP/IP port number to determine which queue manager to connect to.

You can therefore configure MQIPT to listen on multiple TCP/IP ports. Each listening port is mapped to a destination queue manager through an MQIPT route. You can define up to 100 such routes, which associate a listening TCP/IP port with the host name and port of the destination queue manager. This means that the host name (IP address) of the destination queue manager is never visible to the originating channel. Each route can handle multiple connections between its listening port and destination, each connection acting independently.

_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 04, 2023 12:12 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

bruce2359 wrote:
Quoting from https://www.ibm.com/docs/en/ibm-mq/9.0?topic=ms81-how-mqipt-works
Quote:
Multiple queue managers
MQIPT can be used to allow access to more than one destination queue manager. For this to work, there must be a mechanism to tell MQIPT which queue manager to connect to, so MQIPT uses the incoming TCP/IP port number to determine which queue manager to connect to.

You can therefore configure MQIPT to listen on multiple TCP/IP ports. Each listening port is mapped to a destination queue manager through an MQIPT route. You can define up to 100 such routes, which associate a listening TCP/IP port with the host name and port of the destination queue manager. This means that the host name (IP address) of the destination queue manager is never visible to the originating channel. Each route can handle multiple connections between its listening port and destination, each connection acting independently.


Did you ever try using HTTP tunneling with more than 1 destination qmgr on the tunnel? MQIPT 9.3.0.2 doesn't care which port you put, it still uses 8080.

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mq__quest
PostPosted: Thu Jan 05, 2023 4:38 am    Post subject: Reply with quote

Apprentice

Joined: 21 Aug 2017
Posts: 48

fjb_saper wrote:


Did you ever try using HTTP tunneling with more than 1 destination qmgr on the tunnel? MQIPT 9.3.0.2 doesn't care which port you put, it still uses 8080.


Hmm.

so you mean we just need to open 1 firewall rule and tunnel all the incoming/outgoing MQ traffic through the same port??

Like
QMA-->MQIPT1(on DMZ)--> || MQIPT2/8080(internal network)-->QM_GTWY
QMB-->MQIPT1(on DMZ)--> || MQIPT2/8080(internal network)-->QM_GTWY
QMC-->MQIPT1(on DMZ)--> || MQIPT2/8080(internal network)-->QM_GTWY
...
...


( || is firewall)
Back to top
View user's profile Send private message
mq__quest
PostPosted: Wed Jan 11, 2023 10:21 am    Post subject: Reply with quote

Apprentice

Joined: 21 Aug 2017
Posts: 48

anyone?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQIPT- firewall rules
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.