🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uk.telecom
Article #342

Re: Looking for a decent VOIP provider for a small business, 4 phones and 1 remote one

#342
From: Postman Pat
Date: Tue, 03 Nov 2026 13:48
157 lines
8656 bytes
Thank you :)

I enabled SIP ALG, so that is in addition to 5060 forwarding to the
phone's internal LAN IP (which is also fixed in the phone config) and
the phone rings OK now.

I still fail to see how SIP ALG *alone* can forward 5060 on incoming
calls while allowing in only A&A IPs. This is a Draytek router without
any remote or internal ("plug and play crap") config.

If I get any more hassle I will move the whole lot to Voipfone.
Simpler and non-arrogant... I am with them at another location and
have had zero downtime in 3 years (fibre + Grandstream VOIP).




 Theo <theom+news@chiark.greenend.org.uk> wrote:

>Postman Pat <at@the-post-office-not.com> wrote:
>> 
>>  Theo <theom+news@chiark.greenend.org.uk> wrote:
>> 
>> >The SIP ALG should inspect the packets passing through the router and
>> >rewrite them with the correct public IP.
>> 
>> I've been reading up on this.
>> 
>> It seems that with ALG you do *not* enable port forwarding, and the
>> router works out the phone's private IP by inspecting its *outgoing*
>> (presumably keep-alive) packets. So if it gets a 5060 packet, it knows
>> where to send it.
>> 
>> But then I don't get the opportunity to enable the forwarding only
>> from A&A IP ranges, which is obviously crucial otherwise all of china
>> will be in there hammering port 5060 ;)
>
>I think the idea is that the SIP ALG sees a local device connecting to A&A
>port 5060, and rewrites it with the public IP but also remembers the LAN IP. 
>When media connections come back from A&A to your router, the ALG knows to
>forward them on to the phone's LAN IP.
>
>If somebody else sends you SIP or RTP traffic, it doesn't come from the A&A
>IP and the ALG doesn't forward it, so the firewall dumps it.
>
>That means you don't need to add extra firewall rules.  As A&A say:
>
>"RTP is the actual media (e.g., the audio).  On our platform the RTP will
>come from the same call server IP address as the SIP control messages.  "
>https://support.aa.net.uk/VoIP_Firewall
>
>so just the SIP ALG should be enough to make sure only packets from A&A's
>server make it back to your SIP device.
>
>> So currently I have both port forwarding (with the above firewall
>> rule) and SIP ALG and the phone rings OK.
>
>I think your additional firewall rules may be making the problem worse,
>particularly if they're taking priority over the ALG.
>
>Although that page talks about complications around having multiple SIP
>devices - the ALG can't tell which device the incoming connection is for. 
>That could be a problem.
>
>> Voipfone have a much cleaner system where their phones keep alive
>> every 60s so not port forwarding or any other router config is needed.
>
>I think A&A do that too?  SIP clients stay connected, they don't drop off
>through inaction.  I haven't done a packet capture, but with Gigaset
>endpoints things 'just work'.
>
>> >I've used A&A on a variety of broadband connections with a variety of
>> >provider routers (and double NAT through two routers), and at most it needed
>> >the SIP ALG turning on in the router settings.
>> 
>> Digging into this, it looks like A&A may have changed their server
>> config:
>> 
>> From Claude: If the router hasn?t changed, then the change was on the
>> other side, so the provider is the likelier explanation. A typical
>> candidate is how their servers handle NAT. Many SIP providers quietly
>> correct for private addresses in the Contact and SDP headers, by
>> replying to the address and port the packet actually came from. If
>> they tightened or changed that behaviour, phones behind NAT without an
>> ALG would stop working, and enabling the ALG would fix them, exactly
>> as you saw.
>>
>> A&A would never admit that though ;)
>
>Did something change?  If anything, I'd expect A&A not to 'quietly correct'
>- given their NAT stance they would rather the connection doesn't work so
>the user sorts it out properly, rather than silently enabling bad behaviour.
>
>> I *am* concerned about security. AFAICT the inbound IP firewall rule
>> prevents VOIP phone fraud, but if ALG allows incoming packets to
>> bypass NAT, that is bad because they could be malformed.
>
>I'm not seeing how it's worse than any other kind of NAT?  A NAT+firewall
>only let packets in if somebody inside initiated them.  If they didn't, it
>blocks them.
>
>When you connect to www.example.com TCP port 443, the response is let through
>because you sent out the first packet.  If somebody on the internet tries to
>send a packet to my web browser, it won't succeed unless there is an entry
>in the NAT table recording that a packet was previously sent to them.
>
>If you're adding firewall rules to this mix, they need to be in addition to
>rather than instead of the NAT rules.  eg you add additional filtering so
>that www.example.com can only send packets back to me if the connection is
>to their port 443 (ie the rule is IF existing_connection AND
>dest_IP==104.20.23.154 AND dest_port==443).  It doesn't allow
>www.example.com access any time to your LAN, which you'd get if skipping the
>'existing_connection' check.
>
>The SIP ALG is just a hack on top of NAT so that it rewrites the addresses
>inside the SIP/RTP packets as well as rewriting the headers.  It also allows
>outgoing SIP and incoming RTP traffic from the same host to share the same
>NAT table entry (so a incoming RTP connection is allowed after an outgoing
>SIP).
>
>(AIUI anyway)
>
>If you're using a STUN server, it's another way for clients to find out
>their public IPs which handles the first part (ie clients can embed the
>correct public IP in their packets), but it does not touch the firewall's
>NAT rules so incoming media wouldn't be accepted without the ALG rules.
>
>> >> Wouldn't the best/simplest answer be to get IPV6 working? Then there is
>> >> simply no issue with NAT.
>> >
>> >Yes, I think A&A assume you don't need NAT because they offer you IPv6.  As
>> >you're an A&A broadband customer you by definition have IPv6 on your
>> >connection.  It would seem to make sense to do the thing they offer support
>> >for.
>> 
>> I don't want to touch IPV6. I have other stuff set up which doesn't
>> support it, and life is too short :)
>
>Other stuff can carry on using IPv4 oblivious to the presence of IPv6.  It's
>pretty simple to enable and, if you let it do its thing, 'just works'.  If
>you want to nail it down then that's more work.
>
>> >(or is the problem your home broadband is a different provider who doesn't
>> >have IPv6?  As above even IPv4 double-NAT has never been a problem for me)
>> 
>> Yes my home fibre is Voipfone and that phone is on A&A.
>> 
>> Voipfone can take over the office number and I am sure their system is
>> much better (their support is certainly excellent) but the number
>> would apparently go dead for 7 days, which is not acceptable. To avoid
>> this, I would need to transfer the whole office to Voipfone but then I
>> have to reconfig a lot of stuff - which I can do if needed.
>
>I suspect A&A will actually work for you fine and perhaps you have
>overcomplicated it which is the source of problem?
>
>Theo
Technical Details
Message-ID: <11cconk$3pu8v$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <10jlj0m$k2q2$1@dont-email.me> <11bvfqc$3blop$1@dont-email.me> <favbrm-3p95.ln1@q957.zbmc.eu> <bUy*XisUA@news.chiark.greenend.org.uk> <11c2hjm$dlls$1@dont-email.me> <dUy*PxtUA@news.chiark.greenend.org.uk>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Postman Pat <at@the-post-office-not.com>
Newsgroups: uk.telecom
Subject: Re: Looking for a decent VOIP provider for a small business, 4 phones and 1 remote one
Date: Tue, 03 Nov 2026 13:48:36 +0000
Organization: A noiseless patient Spider
Lines: 157
Message-ID: <11cconk$3pu8v$1@dont-email.me>
References: <10jlj0m$k2q2$1@dont-email.me> <11bvfqc$3blop$1@dont-email.me> <favbrm-3p95.ln1@q957.zbmc.eu> <bUy*XisUA@news.chiark.greenend.org.uk> <11c2hjm$dlls$1@dont-email.me> <dUy*PxtUA@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 03 Nov 2026 13:48:37 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3995935"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18/NAsbjBYbrdn0VJa9MMPK"; posting-host="668bbf4f7912383e7977bce29f17013c"
Cancel-Lock: sha1:OQZqDZHzBLxYwDHoHGc9HY+fqW4= sha256:mPaTPnEmXsa89pSQMOMv0tHdR0oHSDWdLm23/NePUig=
	sha1:Q3oq77q3IdYNUrHtpK6rXjBf3ZA= sha256:yt5NmZh/oLKB5Yy45r7nw/PPdgMT8bEYSH8vA0I7EVo=
X-Newsreader: Forte Agent 3.3/32.846
X-No-Archive: yes