Asterisk: IP Address?? What do I use

dbz0e

Well-Known Member
Joined
Apr 16, 2012
Messages
409
Reaction score
12
Location
JHB
Hi, Asterisk setup, now what? What will be the IP address (submask??).

Do I use the ip address of the pc, asterisk is running on, or my router ip address? (for /etc/network/interfaces)

:wtf:

Thanks
 
Code:
ifconfig

On your asterisk box should spit out the networking information including subnet (assuming DHCP is in play or you set it manually). Ideally you should be setting up a fixed IP and DNS, but you can use the IP in your SIP client.
 
I hope it's secure....and that you have a limit on your sip accounts
 
Thanks guys.

Managed to get to work locally (!!!) on my wifi (home router) with Zoiper softphone app (two mobile phone interacting) (downloaded from google play).

OK, first hurdle gone, and tech works.

Next step for it to work externally, the steps would be???

1. As mentioned above, secure router?
2. Allow it to seen from outside?
3 Get fix IP???
3. etc etc???
4. :confused:


Thanks.
 
I think you're opening yourself open for potential pain if you intend allowing inbound connections via your home router to your PBX. VoIP hacking is rife, so if you don't lock it down correctly and you get hacked, you better be on prepaid.

It's also worth pointing out that I have seen cases with simple NAT routers and even some more complex firewalls with fancy adaptive SIP NAT features where they will allow unsolicited inbound connections. In the case of the router it doesn't validate that the inbound connection had a state, so just assumes it's part of the same existing outbound connection and allows anyone to connect in on port 5060. In the firewall case the SIP NAT bypassed all the usual firewalling "to make things easier" which effectively resulted in the same problem as a basic router.
 
Top
Sign up to the MyBroadband newsletter
X