Installing and configuring xt_NAT

I will give an example of installing and configuring xt_NAT on Ubuntu Server 14.04 with kernel version 4.4.0-142. xt_NAT may not work on newer kernel versions. According to the developer, it should work on Linux Kernel 3.18 and 4.1. To make it work on newer versions of the kernel, you can find patches.

Continue reading “Installing and configuring xt_NAT”

Solution for warning Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw

Once a user made a call and Asterisk began to display a lot of warnings, and there was also no sound:

Continue reading “Solution for warning Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw”

FreeRadius. error solution rlm_sql_mysql: Couldn’t connect to MySQL server

Once I installed FreeRadius 3.0.23, by the way I described the process in the article: ABillS. Installing Freeradius, and optimized some parameters of the MySQL server, after which FreeRadius stopped starting and I saw errors in the logs:

Continue reading “FreeRadius. error solution rlm_sql_mysql: Couldn’t connect to MySQL server”