[App_rpt-users] iaxrpt

mwbesemer at cox.net mwbesemer at cox.net
Fri Jun 29 16:26:54 UTC 2018


Correct.  I have my account configured for a private (internal) 
connection on 192.xxx.xxx.xxx and for a public (external) connection on 
174.xxx.xxx.xxx.  The 174.xxx.xxx.xxx works fine, but not the 
192.xxx.xxx.xxx.

Will troubleshoot further as soon as the boss lets me go home !

Tnx,

Mike
WM4B

On Fri, Jun 29, 2018 at 12:16 PM, David Shaw wrote:

  If your using a public domain name then yes. If you are using your LAN 
IP address for your node, then no. Good to see your using your DHCP 
server to assign a fixed IP address. So you should be going straight to 
your node then.  

Private IP Adresses Network 
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
If your IP Address is outside the above ranges then it's on the public 
(WWW) domain.



W9SH Steve's iaxRpt software:

Options>Accounts
Host: Just use the IP Address only. No need for the default port. 
(4569)  The only time you would use :port is if it was different then 
4569.

Options>Preferences>IAX2 is where you can change the default port. 

When you click Connect what error do you get on the bottom?

You can also see what asterisk is seeing when you try to login.

sudo asterisk -vvvvvvvvvvvvvvr

Here is my output when I login
asl2083*CLI>
    -- Accepting AUTHENTICATED call from 172.16.11.10 
<http://172.16.11.10> :  <http://172.16.11.10>
       > requested format = gsm,  <http://172.16.11.10>
       > requested prefs = (),  <http://172.16.11.10>
       > actual format = gsm,  <http://172.16.11.10>
       > host prefs = (ulaw|adpcm|gsm),  <http://172.16.11.10>
       > priority = mine  <http://172.16.11.10>
    -- Executing [2083 at iaxrpt:1] Rpt("IAX2/iaxrpt-6838", "2083|X") in 
new stack  <http://172.16.11.10>
Node Variable dump for node 2083:  <http://172.16.11.10>
   RPT_NUMLINKS=0  <http://172.16.11.10>
   RPT_LINKS=0  <http://172.16.11.10>
   RPT_NUMALINKS=0  <http://172.16.11.10>
   RPT_ALINKS=0  <http://172.16.11.10>
   RPT_TXKEYED=0  <http://172.16.11.10>
   RPT_ETXKEYED=0  <http://172.16.11.10>
   RPT_RXKEYED=0  <http://172.16.11.10>
   RPT_AUTOPATCHUP=0  <http://172.16.11.10>
    -- 8 variables  <http://172.16.11.10>
  == Spawn extension (iaxrpt, 2083, 1) exited KEEPALIVE on 
'IAX2/iaxrpt-6838'  <http://172.16.11.10>

  <http://172.16.11.10>
Here is the output of a bad login. Wrong Username  <http://172.16.11.10>
asl2083*CLI>  <http://172.16.11.10>
[Jun 29 09:01:43] NOTICE[411]: chan_iax2.c:9459 socket_process: Host 
172.16.11.10 failed to authenticate as iaxrpt1  <http://172.16.11.10>

  <http://172.16.11.10>

  <http://172.16.11.10>
You can also use tcpdump to see connections to and from your node. 
<http://172.16.11.10>

  <http://172.16.11.10>
sudo apt-get install tcpdump  <http://172.16.11.10>

  <http://172.16.11.10>
After tcpdump is installed run  <http://172.16.11.10>

  <http://172.16.11.10>
sudo tcpdump -n "src host 172.16.11.10 and port 4569"
  <http://172.16.11.10>
or  <http://172.16.11.10>
sudo tcpdump -n "src host 172.16.11.10 and not dst port 22"
  <http://172.16.11.10>

  <http://172.16.11.10>
replace 172.16.11.10 with your windows IP address. 
<http://172.16.11.10>

  <http://172.16.11.10>
Ctrl c to stop   <http://172.16.11.10>

  <http://172.16.11.10>
David  <http://172.16.11.10>

  <http://172.16.11.10>

  <http://172.16.11.10>
--  <http://172.16.11.10>
Thanks, David
  <http://172.16.11.10>

  <http://172.16.11.10>
"Laws that forbid the carrying of arms...disarm only those who are 
neither inclined nor determined to commit crimes. Such laws make things 
worse for the assaulted and better for the assailants; they serve rather 
to encourage than prevent homicides, for an unarmed man may be attacked 
with greater confidence than an armed one."
  <http://172.16.11.10>
Thomas Jefferson
  <http://172.16.11.10>

On Fri, Jun 29, 2018 at 7:49 AM, < mwbesemer at cox.net 
<javascript:parent.wgMail.openComposeWindow('mwbesemer at cox.net')> > 
wrote:
David,

WRT your first statement, if I'm connecting via my Windows machine to my 
local IP, am I really exiting my LAN and coming back in?  Or am I 
routing straight to the IP of my node.  I have DD-WRT on my router have 
have the port forwarded.  (I really expect my problem to be there - port 
forwarding has historically bit me in the butt.)  BTW, my node is set 
for DHCP, but in the router, I have that MAC address assigned to a fixed 
IP address.

I've tried using xxx.xxx.xxx.xxx:4569 and that doesn't help.

I probably confused people by referencing the hamvoip document.  I'm 
using ASL, but the hamvoip document was recommend to me as a guide to 
set up iaxrpt on my node.

I'll try the traccert tonight when I get home.

Many thanks,

Mike
WM4B

On Fri, Jun 29, 2018 at 10:18 AM, David Shaw wrote:

  <javascript:parent.wgMail.openComposeWindow('mwbesemer at cox.net')>
Most new routers won't allow you to exit the local network (LAN) and 
come
back in. This might happen if you use a domain name that is associated 
with
your public address. If you want to use your public domain name to 
access
your node from inside your LAN. You'll need to add a DNS entry to your
router. **See "Side Note" below

By default IAX2 uses UDP port 4569 and the bind address is set to all
interfaces/addresses in the ASL OS ( allstarlink.org 
<http://allstarlink.org> ). As for the hamvoip.com <http://hamvoip.com>
settings, you should check with them.

Are you using the hostname or IP address to access your node?
Like Mike stated, use xxx.xxx.xxx.xxx:4569 from your local (LAN) 
devices.

Testing:
 From your windows based computer. Try tracert and the IPaddress of the 
node.

tracert 192.168.x.x

1  <1 ms   <1 ms   <1 ms 192.168.x.x

There should be only one hope to your node if your windows computer in 
on
the same network.

Side note:
I use dhcp on all my nodes on my LAN networks. I give them static 
address
via the DHCP server. I also change the hostname on the node. i.e. 
asl2060
This allows the router's internal DNS server to associate the hostname 
and
IP address for the ASL node. Some routers will allow you to add a domain
name.
Also there is no need to open TCP port forwarding on you router for IAX2
4569.

David


-- 
Thanks, David

"Laws that forbid the carrying of arms...disarm only those who are 
neither
inclined nor determined to commit crimes. Such laws make things worse 
for
the assaulted and better for the assailants; they serve rather to 
encourage
than prevent homicides, for an unarmed man may be attacked with greater
confidence than an armed one."
Thomas Jefferson

  <http://hamvoip.com>
On Fri, Jun 29, 2018 at 3:58 AM, < mwbesemer at cox.net 
<javascript:parent.wgMail.openComposeWindow('mwbesemer at cox.net')> > 
wrote:

No.  I've never seen reference to that.  I'm still in the initial phase 
of
setting up this node; have not messed with rpt.conf yet.

Mike
WM4B

On Thu, Jun 28, 2018 at 11:11 PM, Bob Pyke wrote:

Did you add your local node address for each node in the rpt,conf 
[nodes]
stanza?
Thanks,
Bob
K6ECM
73

On Jun 28, 2018, at 6:12 PM, Mike < mm at midnighteng.com 
<javascript:parent.wgMail.openComposeWindow('mm at midnighteng.com')> > 
wrote:

Mike,

Still a lot of possibilities of things that may not be right but,

Just so that you are conducting a 'good test' behind your nat through
wifi,

put your phone in airplane mode, then turn just the wifi on and connect.

You might also want to turn the forwarding to just the UDP 4569 and
specify that in your phone connect,

guessing your using the android iaxrpt....  like this for your IP...

192.169.1.101:4569 <http://192.169.1.101:4569>    < :port especially if 
not the norm, but do it
anyway.
That's a few things to investigate anyway,

Let me know if your still having issues.

Oh... don't forget to get back out of airplane mode / turn cellular back
on when done.

Hate to see ya late for dinner ...lol
...mike/kb8jnm

On 6/28/2018 8:00 PM, Mike Besemer wrote:
Making progress on my node.  After several false starts I finally got
the node connected and am able to connect via iaxrpt from my Android
devices if I use my EXTERNAL IP address.

I cannot connect from Android or Windows using my INTERAL IP address. I
followed the guide at hamvoip.com <http://hamvoip.com> and have double 
checked everything.

The port is open for both UDP and TCP connections. The firewall seems
ok.

It has to be something obvious.  What             did I miss?

Mike

WM4B


______________________________ _________________
App_rpt-users mailing list
App_rpt-users at lists.allstarlin k.org 
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')>

http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>

To unsubscribe from this list please visit

http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>
and scroll down to the bottom of the page. Enter your email address and
press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message 
to
the list detailing the problem.

______________________________ _________________
App_rpt-users mailing list
App_rpt-users at lists.allstarlin k.org 
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')>
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>

To unsubscribe from this list please visit
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users> 
and
scroll down to the bottom of the page. Enter your email address and 
press
the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message 
to
the list detailing the problem.


     ----------------------------- -

______________________________ _________________
App_rpt-users mailing list
App_rpt-users at lists.allstarlin k.org 
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')>
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>

To unsubscribe from this list please visit 
http://lists.allstarlink.org/c <http://lists.allstarlink.org/c>
gi-bin/mailman/listinfo/app_rp t-users and scroll down to the bottom of
the page. Enter your email address and press the "Unsubscribe or edit
options button"
You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message 
to
the list detailing the problem.

______________________________ _________________
App_rpt-users mailing list
App_rpt-users at lists.allstarlin k.org 
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')>
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>

To unsubscribe from this list please visit 
http://lists.allstarlink.org/c <http://lists.allstarlink.org/c>
gi-bin/mailman/listinfo/app_rp t-users and scroll down to the bottom of
the page. Enter your email address and press the "Unsubscribe or edit
options button"
You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message 
to
the list detailing the problem.


     ----------------------------- -

______________________________ _________________
App_rpt-users mailing list
App_rpt-users at lists.allstarlin k.org 
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')>
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>

To unsubscribe from this list please visit 
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users> 
and scroll down to the bottom of the page. Enter your email address and 
press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email 
confirmation. If you have trouble unsubscribing, please send a message 
to the list detailing the problem.
  <http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>
______________________________ _________________
App_rpt-users mailing list
App_rpt-users at lists.allstarlin k.org 
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')>
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>

To unsubscribe from this list please visit 
http://lists.allstarlink.org/c gi-bin/mailman/listinfo/app_rp t-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users> 
and scroll down to the bottom of the page. Enter your email address and 
press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email 
confirmation. If you have trouble unsubscribing, please send a message 
to the list detailing the problem. 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>


------------------------------

_______________________________________________
App_rpt-users mailing list
App_rpt-users at lists.allstarlink.org 
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')> 
  
<javascript:parent.wgMail.openComposeWindow('App_rpt-users at lists.allstarlink.org')>
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>   
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>

To unsubscribe from this list please visit 
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users 
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>   
<http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users> 
 and scroll down to the bottom of the page. Enter your email address and 
press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email 
confirmation. If you have trouble unsubscribing, please send a message 
to the list detailing the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20180629/37d5efa6/attachment.html>


More information about the App_rpt-users mailing list