Control OPC/DCOM connections in a PC with multiple IP addresses|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Control OPC/DCOM connections in a PC with multiple IP addresses
Avatar
Suraj Prakash
New Member
Members
Forum Posts: 2
Member Since:
03/17/2016
sp_UserOfflineSmall Offline
1
04/10/2016 - 14:36
sp_Permalink sp_Print

Hello,

I have 2 IP address on my NIC. The second one added as an Alternate.

Say a.b.c.10 and a.b.c.12. I need all the connections to originate from a.b.c.12. 

For DCOM connections originating from this machine, is it possible to control the “originator” IP? 

For specific applications, I bind to the IP I need to use and control this but cannot figure how to ensure DCOM also does this.

DCOM config allows me to set ports and protocols as endpoints. Not IP Addresses.

Thanks.

Avatar
Jim Luth
Moderator
Members

Moderators-Specifications
Forum Posts: 5
Member Since:
04/15/2014
sp_UserOfflineSmall Offline
2
04/12/2016 - 05:53
sp_Permalink sp_Print

I do not believe there is a way to restrict DCOM to use only specific IP addresses.  DCOM will bind to all available IP addresses in your system. What I think would work in your case is to configure the Windows firewall to block all of the DCOM related ports both inbound and outbound for just the IP address you DON’T want DCOM to use. Be sure to block all of the potential ports DCOM may use:

 

RPC TCP 135
Randomly allocated high TCP ports TCP random port number between 49152 – 65535
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 40
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889