This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
сервисы_gateway_и_routing [2022/05/19 14:37] val [NetFilter iproute2 (Linux)] |
сервисы_gateway_и_routing [2022/07/05 06:51] val [Debian/Ubuntu] |
||
---|---|---|---|
Line 13: | Line 13: | ||
net.ipv4.ip_forward = 1 | net.ipv4.ip_forward = 1 | ||
- | root@gate:~# cat /etc/sysctl.conf | + | root@gate:~# cat /etc/sysctl.d/20-my.conf |
</code><code> | </code><code> | ||
- | ... | ||
net.ipv4.ip_forward=1 | net.ipv4.ip_forward=1 | ||
- | ... | ||
</code><code> | </code><code> | ||
- | root@gate:~# sysctl -f | + | root@gate:~# sysctl -p --system |
</code> | </code> | ||