Connecting Trixbox to Internet

texco
Posts: 1
Member Since:
2008-01-16

I have recently installed and test trixbox, I am not sure whats the best way to securely connect it.

Scenario

Company has 2 network (10.0.0.0 and 20.0.0.0)
2 Network are connected together with a router
Company has 1 Trixbox Server installed on 10.0.0.0
Trixbox is connecting to internet via NAT

Requirement
users can reach trixbox using SIP protocol from 10.0.0.0, 20.0.0.0, and internet

I have enable SIP anonymous setting on Trixbox, and everything works fine, what settings do i need to enhanced the security, as I am worring about DDOS attack to my server.

THanks



jmullinix
Posts: 837
Member Since:
2006-06-04
First, are you sure about

First, are you sure about your network setup? Does your company own the entire 20.0.0.0, class A range. The 10.0.0.0 range is a reserved private range, but I believe that 20.0.0.0 is public.

If the 20 series of address are truly public, then you are performing NAT at the router that separates the two networks and that provides you with some isolation from the 20.0.0.0 network. You will need to open ports UDP 5060-5082 and UDP 10000-20000 on the router to the trixbox. Make sure you have configured your SIP_Nat.conf file with the externip=xxx.xxx.xxx.xxx, localnet=xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx directives. Externip is you external IP address on the router; in your case it should be 20.X.x.x something. The localnet directive is in the format of localnetwork/localnetwork subnet mask. There is plenty of info on how to do this on this forum and on voip-info.org. As far as anonymous SIP goes, as long as you don't have an any/any inbound route, I don't consider leaving it on a bad thing. I have been fooling around with this stuff for a couple of years now and I have only seen one SIP DOS attack, and it came through a carrier.

If you are using the 20.0.0.0 series of address as private address space, then I believe your firm has some basic networking issues that need to be resolved, before you start with security.

--

John

In search of Dundi Peers in Lake Wales, FL and Baltimore, MD.
http://www.cohutta.com
1-706-632-3343 - E164 friendly (Use your friendly ENUM trunk today.)
Dial Plan helper http://www.cohutta.com/npanxx.php



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.