Bind to use Internal IP | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ |
◄ ► |
Author | Message | |||
Jordan New member Username: Jordan9284 Post Number: 1 Registered: 07-2019 |
Hi there, We would like to configure a Bind to use a specific IP address From what I have been told we can add BindIP={New internal IP address} to the now sms config file However when doing so I cannot see the connection attempt going via the IP Please advise | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6029 Registered: 08-2008 |
Hi, It is best to do this through the configuration interface. The web interface for SMS (and SMPP) allows its IP address to be set on the "Web" tab of the configuration program. It updates BindIP= under the [SMSGW] section of SMSGW.INI. The MMSC IP address is set on the "MMSC" tab and updates IPAddress= under the [MMSC] section of MMSC.INI. The netstat -a -n command can be used to verify what IP/ports are being listened on. -- Des NowSMS Support | |||
Jordan New member Username: Jordan9284 Post Number: 2 Registered: 07-2019 |
Hi there, Are you referring to: https://www.nowsms.com/doc/web-menu-interface if so this doesn't allow me to configure a SMSC connection to use a fixed internal IP address to send traffic over. I have 2 network cards in my NowSMS server, I would like to configure one SMSC connection to ONLY use one of the network cards on the server. Is this possible? thanks Jordan | |||
Jordan New member Username: Jordan9284 Post Number: 3 Registered: 07-2019 |
Looking at this post here it indicates that this is possible https://support.nowsms.com/discus/messages/1/73682.html Please see the attached image of the config, this doesnt appear to work. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6030 Registered: 08-2008 |
Hi Jordan, I am referring to the desktop configuration program, not the web interface. But, I was also referring to the IP address used for listening by server interfaces. You appear to be referring to the IP address that the SMPP client uses, and your example is correct. That one connection would connect out from 10.0.10.103 as its source IP. What is the NowSMS version? — Des NowSMS Support | |||
Jordan New member Username: Jordan9284 Post Number: 4 Registered: 07-2019 |
Hi Des, the version of NowSMS is; V2017.04.07 | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6031 Registered: 08-2008 |
Hi Jordan, We are not aware of any issues with this setting in that version. (Except if EnableIPV6=Yes is present in SMSGW.INI, that might cause a problem.) Make sure you are not accidentally editing a duplicate SMSGW.INI (open command prompt, cd \ to root directory, and use dir /s smsgw.ini to search). Differences in default location of this file in different versions of NowSMS, and Windows security can cause issues. 10.0.10.103 is locally bound as an IP of the server running NowSMS, correct? How are you determining the wrong IP is being used? -- Des NowSMS Support | |||
Jordan New member Username: Jordan9284 Post Number: 5 Registered: 07-2019 |
Hi Des, We don't have that setting in place on NowSMS I have been modifying the SMSGW.INI file that is in use. We have a network card that has been configured on the NowSMS server with the IP 10.0.10.103 assigned. I have then captured the network traffic using Wireshark Traffic to the expected destination is shown coming from the other internal IP address. Is there anything else that I can look at? thanks Jordan | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6032 Registered: 08-2008 |
Hi Jordan, Sorry for the delay in response. I wanted to test this with the same version, v2017.04.07. The BindIP= setting seems to be working for me. I have an SMPP connection to 192.168.0.40:9000, so there is a [SMPP - 192.168.0.40:9000] section in SMSGW.INI. If I add or change a BindIP= setting under that section header, I see that NowSMS sends an unbind, disconnects, and then connects again with the BindIP value as the source. I'm using netstat -a -n to look at active connections. Do you see a disconnect when you update this setting? I know may note about editing the correct SMSGW.INI seems basic, but there are situations where Windows security policies can do strange things and creates copies under a VirtualStore directory, so the dir /s advice is the quickest way to make sure this is not happening. -- Des NowSMS Support | |||
Jordan New member Username: Jordan9284 Post Number: 6 Registered: 07-2019 |
Hi Des, We are all good to go - It was me didnt install the wireshark driver for the NIC! Its all working as expected now thanks for the help |