Dear All,
I am evaluating the kamailio proxy 5.2 server with rtpproxy on an internal network.
Everything are ok.
Now, I would like to evalute Kamailio proxy from outside (internet) but I have some difficulties to setup my PfSense firewall to enable inbound & outbound rules, network settings and kamailio.cfg.
The issues are :
Setup correctly Network files :
127.0.0.1 localhost
ip_private codecsip.mydomain codecsip
ip_public codecsip.mydomain codecsip
codesip
Setup /etc/kamailio/kamailio.cfg :nameserver 8.8.8.8
#!define WITH_MYSQL #!define WITH_AUTH #!define WITH_USRLOCDB #!define WITH_NAT #!define WITH_TLS /* uncomment the next line to disable the auto discovery of local aliases based on reverse DNS on IPs (default on) */ #auto_aliases=no /* add local domain aliases */ alias="codecsip.mydomain" #!ifdef WITH_NAT # ----- rtpproxy params ----- # modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722") modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy/rtpproxy.sock")
CONTROL_SOCK=udp:127.0.0.1:7722
EXTRA_OPTS="-l <IP-address>"
Where <IP-address> is the external IP address of your host.