Proxy on same lan?

Is it possible to setup and test a proxy on same lan? I had to add radio@, but used public ip and port for nodes to connect. I would of thought nodes on same lan, would of connected less radio@. I used this document;

https://wiki.allstarlink.org/wiki/Proxy

This is the error when I try to use proxy verses @radio:

repeater*CLI> rpt fun 46050 *346034
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
Node Variable dump for node 46050:
RPT_TXKEYED=1
RPT_ETXKEYED=0
RPT_NUMLINKS=0
RPT_LINKS=0
RPT_NUMALINKS=0
RPT_ALINKS=0
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0
– 8 variables
Node Variable dump for node 46050:
RPT_ETXKEYED=1
RPT_TXKEYED=1
RPT_NUMLINKS=0
RPT_LINKS=0
RPT_NUMALINKS=0
RPT_ALINKS=0
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0
– 8 variables
[Feb 26 11:43:30] WARNING[568]: chan_iax2.c:9269 socket_process: Call rejected by 47.187.123.142: No authority found
– Hungup ‘IAX2/radio-proxy-out-4726’
– Hungup ‘DAHDI/pseudo-1713273573’
– Remote UNIX connection
– Remote UNIX connection disconnected
– Hungup ‘DAHDI/pseudo-2036779043’
– <DAHDI/pseudo-1002047730> Playing ‘rpt/node’ (language ‘en’)
– <DAHDI/pseudo-1002047730> Playing ‘digits/4’ (language ‘en’)
– <DAHDI/pseudo-1002047730> Playing ‘digits/6’ (language ‘en’)
– <DAHDI/pseudo-1002047730> Playing ‘digits/0’ (language ‘en’)
– <DAHDI/pseudo-1002047730> Playing ‘digits/3’ (language ‘en’)
– <DAHDI/pseudo-1002047730> Playing ‘digits/4’ (language ‘en’)
– <DAHDI/pseudo-1002047730> Playing ‘rpt/connection_failed’ (language ‘en’)
– Hungup ‘DAHDI/pseudo-1002047730’
Node Variable dump for node 46050:
RPT_ETXKEYED=0
RPT_TXKEYED=1
RPT_NUMLINKS=0
RPT_LINKS=0
RPT_NUMALINKS=0
RPT_ALINKS=0
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0
– 8 variables
– Hungup ‘DAHDI/pseudo-787385397’
Node Variable dump for node 46050:
RPT_TXKEYED=0
RPT_ETXKEYED=0
RPT_NUMLINKS=0
RPT_LINKS=0
RPT_NUMALINKS=0
RPT_ALINKS=0
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0
– 8 variables

Server is beta 6 on 386 node 46034 and proxy is raspberry ip beta 6 node 46050.

Registered nodes on the same lan would use the public ip in the rpt_extnodes file.
You need 'local lan network nodes ’ behind the same NAT to be defined in rpt.conf radio@

https://wiki.allstarlink.org/wiki/Two_Servers_Behind_NAT_Router

Thanks for the response. Yes I did this. The issue is it bypasses the testing of the proxy code and connects nodes a different way.

Feb 26 11:43:30] WARNING[568]: chan_iax2.c:9269 socket_process: Call rejected by 47.187.123.142: No authority found
– Hungup ‘IAX2/radio-proxy-out-4726’

repeater*CLI> rpt fun 46050 *346034
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
== Parsing ‘/var/lib/asterisk/rpt_extnodes’: Found
Node Variable dump for node 46050:

The Router is not a NAT. It may not be possible to test proxy code, co-located?

Likely, you are not registered in asl with the ip of the same your are connecting with.
The connection will always be refused over that security check.

You will need to remedy that. But I can’t say how. Study your proxy setup knowing the above…