This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
сервис_nat [2025/06/21 15:47] val [Debian/Ubuntu (nftables)] |
сервис_nat [2025/06/22 15:03] (current) val [Debian/Ubuntu (nftables)] |
||
---|---|---|---|
Line 178: | Line 178: | ||
ip daddr 172.16.1.X tcp dport { 25, 80, 143, 465, 587, 5222 } dnat to 192.168.X.10 | ip daddr 172.16.1.X tcp dport { 25, 80, 143, 465, 587, 5222 } dnat to 192.168.X.10 | ||
- | ip daddr 172.16.1.X udp dport { 5060, 10000-20000 } dnat to 192.168.X.10 | + | ip daddr 172.16.1.X udp dport { 10000-20000 } dnat to 192.168.X.10 |
+ | ip daddr 172.16.1.X udp dport { 5060 } dnat to 192.168.X.10:5060 | ||
+ | # ip daddr 172.16.1.X udp dport { 6050 } dnat to 192.168.X.10:5060 | ||
ip daddr 172.16.1.X tcp dport 5061 dnat to 192.168.X.10 | ip daddr 172.16.1.X tcp dport 5061 dnat to 192.168.X.10 | ||
ip daddr 172.16.1.X udp dport 4569 dnat to 192.168.X.10 | ip daddr 172.16.1.X udp dport 4569 dnat to 192.168.X.10 |