edgerouterx_alg.rst 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. ##############################
  2. Ubiquiti EdgerouterX SIP ALG
  3. ##############################
  4. In some scenerios you may have to turn off SIP ALG.
  5. Check if SIP ALG is running
  6. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  7. * **Command:** lsmod | grep sip
  8. ::
  9. shwim@ubnt:~$ lsmod | grep sip
  10. nf_nat_sip 8853 0
  11. nf_conntrack_sip 21773 1 nf_nat_sip
  12. nf_nat 13284 10 nf_nat_ftp,nf_nat_sip,ipt_MASQUERADE,nf_nat_proto_gre,nf_nat_h323,nf_nat_ipv4,nf_nat_pptp,nf_nat_tftp,xt_nat,iptable_nat
  13. nf_conntrack 62604 18 nf_nat_ftp,nf_nat_sip,xt_CT,nf_conntrack_proto_gre,ipt_MASQUERADE,nf_nat,nf_nat_h323,nf_nat_ipv4,nf_nat_pptp,nf_nat_tftp,xt_conntrack,nf_conntrack_ftp,nf_conntrack_sip,iptable_nat,nf_conntrack_h323,nf_conntrack_ipv4,nf_conntrack_pptp,nf_conntrack_tftp
  14. shwim@ubnt:~$
  15. This shows that SIP ALG is running in the example above.
  16. Disable SIP ALG
  17. ^^^^^^^^^^^^^^^^^
  18. To disable SIP ALG:
  19. * Either click on the CLI button from the Ubiquiti EdgerouterX GUI or via you favorite SSH client to the EdgerouterX.
  20. * **Then type:** configure
  21. * **Then type:** set system conntrack modules sip disable
  22. * **Then type:** commit
  23. * **Then type:** save
  24. * **Then type:** exit
  25. ::
  26. root@ubnt:/home/shwim# configure
  27. [edit]
  28. root@ubnt# set system conntrack modules sip disable
  29. [edit]
  30. root@ubnt# commit
  31. [edit]
  32. root@ubnt# save
  33. Saving configuration to '/config/config.boot'...
  34. Done
  35. [edit]
  36. root@ubnt# exit
  37. Enable SIP ALG
  38. ^^^^^^^^^^^^^^^^^
  39. To enable SIP ALG:
  40. * Either click on the CLI button from the Ubiquiti EdgerouterX GUI or via you favorite SSH client to the EdgerouterX.
  41. * **Then type:** configure
  42. * **Then type:** set system conntrack modules sip enable-indirect-media
  43. * **Then type:** set system conntrack modules sip enable-indirect-signalling
  44. * **Then type:** commit
  45. * **Then type:** save
  46. * **Then type:** exit
  47. ::
  48. root@ubnt:/home/shwim# configure
  49. [edit]
  50. root@ubnt# set system conntrack modules sip enable-indirect-media
  51. [edit]
  52. root@ubnt# set system conntrack modules sip enable-indirect-signalling
  53. [edit]
  54. root@ubnt# commit
  55. [edit]
  56. root@ubnt# save
  57. Saving configuration to '/config/config.boot'...
  58. Done
  59. [edit]
  60. root@ubnt# exit
  61. .. note::
  62. set system conntrack modules sip port <1-65535> will change the sip port number