Skip to content

Commit

Permalink
docs: nat helpers, add firewall restart
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed May 21, 2024
1 parent d42e52c commit 7785bfc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/design/nat_helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ To enable only the FTP helper:
```
echo -ne "nf_conntrack_ftp\nnf_nat_ftp\n" > /etc/modules.d/ns-nathelpers
load-kernel-modules
service firewall restart
```

## Enable SIP helper (SIP ALG)

To enable only SIP helper with default configuration and load it at boot, use:
```
echo nf_nat_sip > /etc/modules.d/ns-nathelpers
reboot
load-kernel-modules
service firewall restart
```
The `nf_nat_sip` module will automatically load the `nf_conntrack_sip` module.

Expand All @@ -79,6 +81,7 @@ Enable SIP helper with non-default parameters:
echo nf_conntrack_sip sip_external_media=1 > /etc/modules.d/ns-nathelpers
echo nf_nat_sip >> /etc/modules.d/ns-nathelpers
load-kernel-modules
service firewall restart
```

When setting non-default parameters, it's recommended to reboot the system to ensure the correct module parameters are applied.
Expand Down

0 comments on commit 7785bfc

Please sign in to comment.