<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Hi Guys,<br><div><br><div><div>I'm trying to use "<span>natping_socket" parameter in nathelper module to spoof the source ip of the nat ping from the backup server. But I can't start opensips with that param set and its failing with following error. The socket IP I specify is available on the server.<br></span><span></span><div><br><div><div><div><span> <span>modparam("nathelper", "natping_socket", "10.3.1.251:5060")</span><br></span><span></span><div><br><div><div><div>ip add output:<br><span>4: enp4s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000<br>    link/ether 52:f2:09:00:00:89 brd ff:ff:ff:ff:ff:ff<br>    inet 10.3.1.251/24 brd 10.3.1.255 scope global secondary enp4s2<br>       valid_lft forever preferred_lft forever<br></span><div><br>opensips error log :<br></div><span>May 15 14:55:33 voip2-sip23b /usr/sbin/opensips[14350]: ERROR:nathelper:init_raw_socket: cannot create raw socket<br>May 15 14:55:33 voip2-sip23b /usr/sbin/opensips[14350]: ERROR:core:init_mod: failed to initialize module nathelper</span><br><div><br><div>This is some what related to this thread <a href="https://opensips.org/pipermail/users/2017-May/037296.html" rel="nofollow" target="_blank" class="enhancr_card_6664421392">[OpenSIPS-Users] Using Contact replication and HA</a>, But I couldn't come up with a conclusion as discussion there wasn't complete. Is there a limitation in using this function ? There's not much info on the doc. I even tried with different ports other than 5060, But result is still the same.<br><div><br><br></div></div><div><br></div><div id="ydp8f19462benhancr_card_6664421392" class="ydp8f19462byahoo-link-enhancr-card ydp8f19462byahoo-link-enhancr-not-allow-cover ydp8f19462bymail-preserve-class ydp8f19462bymail-preserve-style" style="max-width:400px;font-family:"Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;" data-url="https://opensips.org/pipermail/users/2017-May/037296.html" data-type="YENHANCER" data-size="MEDIUM" contenteditable="false"><a href="https://opensips.org/pipermail/users/2017-May/037296.html" style="text-decoration:none !important;color:#000 !important;" class="ydp8f19462byahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table class="ydp8f19462bcard-wrapper ydp8f19462byahoo-ignore-table" style="max-width:400px;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="400"><table class="ydp8f19462bcard ydp8f19462byahoo-ignore-table" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px;" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody><tr><td><table class="ydp8f19462bcard-info ydp8f19462byahoo-ignore-table" style="background-color: rgb(255, 255, 255); background-image: none; background-repeat: repeat; background-attachment: scroll; background-size: auto auto; position: relative; z-index: 2; width: 100%; max-width: 400px; border-radius: 0px 0px 2px 2px; border-top: 1px solid rgb(224, 228, 233);" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px;"></td><td style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:"Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;border-radius:0 0 2px 0;"><h2 class="ydp8f19462bcard-title" style="font-size:14px;line-height:19px;margin:0 0 6px 0;font-family:"Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;word-break:break-word;color:#26282a;">[OpenSIPS-Users] Using Contact replication and HA</h2><p class="ydp8f19462bcard-description" style="font-size:12px;line-height:16px;margin:0px;color:#979ba7;word-break:break-word;"></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a></div><div><br></div><div>Regards,<br>Pasan<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>