Re: [OpenSIPS-Users] Opensips with Private IP
You don't need to do 1 to 1 NAT. Simply do a port forward on 5060 and that's enough. Regards, Ovidiu Sas On Thu, Jan 22, 2015 at 7:41 PM, bluerain frank21...@yahoo.com wrote: Ok! Thank you very much, so currently I have: listen=udp:99.99.99.1:5060 where my NIC card is actually 99.99.99.1 So now I can change my NIC card to 192.168.1.100 and then put in opensip config file as: listen=udp:192.168.1.100:5060 as 99.99.99.1:5060 And that I simply do 1 to 1 nat on the firewall to map 99.99.99.1 to 192.168.1.100 And that the SIP message it generate on the opensip (e.g. the record_route/Via header/blah) will all be 99.99.99.1 instead of 192.168.1.100? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-with-Private-IP-tp7595038p7595041.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- VoIP Embedded, Inc. http://www.voipembedded.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips with Private IP
Take a look at the listen parameter: http://www.opensips.org/Documentation/Script-CoreParameters#toc56 Regards, Ovidiu Sas On Thu, Jan 22, 2015 at 3:05 PM, bluerain frank21...@yahoo.com wrote: I am currently running Opensips using public IP (on NIC and also in config file). So is there a quick way I can convert that to private IP? e.g. maybe some parameter in the global section of the config file that I can do so that Opensip will use a public IP in all is SIP messages? This way, I can simply do port forwarding on my firwall to MAP a public IP on to the opensip's private IP. You probably ask me why, the reason is that we maybe moving to a firewall that no longer have a transparent DMZ capability and that all device behind it have to be NAT from private to public... sux... Thanks in advance! -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-with-Private-IP-tp7595038.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- VoIP Embedded, Inc. http://www.voipembedded.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips with Private IP
Ok! Thank you very much, so currently I have: listen=udp:99.99.99.1:5060 where my NIC card is actually 99.99.99.1 So now I can change my NIC card to 192.168.1.100 and then put in opensip config file as: listen=udp:192.168.1.100:5060 as 99.99.99.1:5060 And that I simply do 1 to 1 nat on the firewall to map 99.99.99.1 to 192.168.1.100 And that the SIP message it generate on the opensip (e.g. the record_route/Via header/blah) will all be 99.99.99.1 instead of 192.168.1.100? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-with-Private-IP-tp7595038p7595041.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Opensips with Private IP
I am currently running Opensips using public IP (on NIC and also in config file). So is there a quick way I can convert that to private IP? e.g. maybe some parameter in the global section of the config file that I can do so that Opensip will use a public IP in all is SIP messages? This way, I can simply do port forwarding on my firwall to MAP a public IP on to the opensip's private IP. You probably ask me why, the reason is that we maybe moving to a firewall that no longer have a transparent DMZ capability and that all device behind it have to be NAT from private to public... sux... Thanks in advance! -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-with-Private-IP-tp7595038.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users