Linux Netfilter discussions
 help / color / mirror / Atom feed
* NAT - how external source port is selected
@ 2021-08-18 13:53 Daniel
  2021-08-18 14:22 ` Reindl Harald
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Daniel @ 2021-08-18 13:53 UTC (permalink / raw)
  To: netfilter

Hello,

how on a NAT firewall server using iptables or nftables, are the 
external source ports choosen ? I would say range is 1024-65535 but if 
for instance I use port 5060 for SIP this one can not be used as source 
port. Is there a table of at time used ports ?

Also, SNOM phones are systematically using port 2048 as source port of 
the WAN ip. Is there a mechanism to allow such behavior ?

If you know any good documentation about this (without reading source 
code ;)) will also be accepted :)

Thanks for your great job
-- 
Daniel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-18 16:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-18 13:53 NAT - how external source port is selected Daniel
2021-08-18 14:22 ` Reindl Harald
2021-08-18 14:50   ` Daniel
2021-08-18 15:15     ` Reindl Harald
2021-08-18 14:46 ` Florian Westphal
2021-08-18 15:12   ` Daniel
     [not found]     ` <20210818161622.GS607@breakpoint.cc>
2021-08-18 16:43       ` Daniel
2021-08-18 14:52 ` AW: " Thomas Bätzler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox