How to get off of the Atlanta Server??

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Post Reply
rpettit63
MagicJack Newbie
Posts: 6
Joined: Wed Nov 26, 2008 8:05 pm

How to get off of the Atlanta Server??

Post by rpettit63 »

OK, I've gone through every "fix" mentioned on my end of the spectrum. This has got to be a MJ server issue. Can someone please help me get routed through any server other than Atlanta?
Boondocs
MagicJack Expert
Posts: 88
Joined: Thu Nov 13, 2008 10:13 pm
Location: Pocono's PA

Post by Boondocs »

rpettit63
MagicJack Newbie
Posts: 6
Joined: Wed Nov 26, 2008 8:05 pm

Post by rpettit63 »

Thanks, but I've read this. I cannot get the static routes option to work, and I don't have the first idea where to begin working with iptables.
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

I recommend you keep studying and learning. After all, you are the only one who can decide your own values in this world. You alone can decide what it is worth to have a $1.67/month VoIP service instead of a $20/month VoIP service. Many of us are happy to learn how to cope with the MJ monster and many of us are not. There's no shame in deciding one way or the other.
rpettit63
MagicJack Newbie
Posts: 6
Joined: Wed Nov 26, 2008 8:05 pm

Post by rpettit63 »

I am studying and I am learning, but I am simply saying that I cannot get the "route add" function to keep MJ from using the Atlanta server. Any help?
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

Now we're moving forward. Where do you have the Route Add function redirecting Atlanta's IP address to? You can either point it to 127.0.0.1 (your own computer) or to any LAN address on your network that won't end up forwarding the request to your router. Naturally, don't point the request to your router.
hsweiss
Dan Should Pay Me
Posts: 563
Joined: Fri Mar 28, 2008 10:04 pm
Location: Maryland

Re: How to get off of the Atlanta Server??

Post by hsweiss »

rpettit63 wrote:OK, I've gone through every "fix" mentioned on my end of the spectrum. This has got to be a MJ server issue. Can someone please help me get routed through any server other than Atlanta?
From another posting I made:

This does not use the host file. First, using Wireshark I found the vms and proxy I was connecting to (default was proxy1.newyork.talk4free.com and vms1.newyork.talk4free.com). So I created a .bat file that I can click on after the system reboots - or it can be put in the autoexec.bat if you want it executed automatically - which changes the routing as such:

route add 216.234.64.12 mask 255.255.255.255 192.168.1.253 metric 1

which blocks vms1.newyork.talk4free.com.

Adding

route add 216.234.64.8 mask 255.255.255.255 192.168.1.253 metric 1

blocks proxy1.newyork.talk4free.com

To block others, just do an nslookup on vms1.cityname.talk4free.com and proxy1.cityname.talk4free.com. E.g.,

nslookup proxy1.houston.talk4free.com

which results in an IP address of 67.88.84.6 and add the route to that address as above.

You can check that the routes were inserted using

"netstat -r"

and you should see the IP address you blocked.

In your case, you need to either substitute the Atlanta proxy addresses for the New York ones but personally, I'd just block NY and add Atlanta (why take the chance of hitting the NY proxy??).

So, proxy1.atlanta.talk4free.com = 216.234.78.8
and vms1.atlanta.talk4free.com = 216.234.78.12

So add:

route add 216.234.78.8 mask 255.255.255.255 192.168.1.253 metric 1
route add 216.234.78.12 mask 255.255.255.255 192.168.1.253 metric 1

Now the catch is that you need to substitute a "live" address on your network for my 192.168.1.253. Some folks have claimed that on WinXP, any address - dead or alive will work. I found that when I used a "dead" (non-existent) address it didn't work. When I used a "live" address (192.168.1.253 is my printer) it worked.

Caution - when you add these routes, you will have to restart magicjack to get calls completed. When MJ starts up, it registers with the proxy. After blocking access to the proxy, MJ just kind of chokes. But if its restarted after adding the routes, then it registers with a different proxy and it then works.
rpettit63
MagicJack Newbie
Posts: 6
Joined: Wed Nov 26, 2008 8:05 pm

Post by rpettit63 »

Thanks mberlant,

I have the proxy/SIP directed to a "noexistant IP address" in my LAN. Do I also need to be forwarding the other IP address (can't think of technical name, but it's the IP that MJ connects for the actual call itself)?
rpettit63
MagicJack Newbie
Posts: 6
Joined: Wed Nov 26, 2008 8:05 pm

Post by rpettit63 »

hsweiss,

Thanks, I will try that. I currently have the Atlanta proxy route added to a nonexistent address. Thanks for clarifying. Maybe the wiki should be changed in the FAQs? I don't feel comfortable modifying that kind of stuff with my lack of tech. expertise.

Anyway, thanks again!
hsweiss
Dan Should Pay Me
Posts: 563
Joined: Fri Mar 28, 2008 10:04 pm
Location: Maryland

Post by hsweiss »

rpettit63 wrote:hsweiss,

Thanks, I will try that. I currently have the Atlanta proxy route added to a nonexistent address. Thanks for clarifying. Maybe the wiki should be changed in the FAQs? I don't feel comfortable modifying that kind of stuff with my lack of tech. expertise.

Anyway, thanks again!
Temporary route changes in Windows are harmless. The worst thing is that your network connectivity stops and the fix is a simple reboot which restores everything before you tinkered with it. I've created two files: route.bat and no_route.bat.

Route.bat contains the route add commands and no_route.bat contains route delete commands so I can switch back and forth as necessary.

Just make sure that once you add the new routes to nowhere, you restart MJ.
jab70
MagicJack Newbie
Posts: 2
Joined: Tue Jan 20, 2009 9:29 pm

By The Way: This works for me using Windows, not Mac

Post by jab70 »

Ive successfully applied this technique using windows,

but when I apply a similar approach using mac OS X with
(Im in ATLANTA) so I used..

sudo route add 216.234.78.12 10.0.1.25 255.255.255.255

and

sudo route add 216.234.78.8 10.0.1.25 255.255.255.255

MagicJack just says .. error , please connect to the internet.

I have used Private IPs on my LAN that are ACTUAL Live addresses, and those That are Dummy Addresses.. same result.

Any clues on how to achieve this from the mac side>?

Thanks guys!

- If I find a way, I will post it in the MAC forum too.
az2008
MagicJack Sensei
Posts: 1404
Joined: Wed Aug 20, 2008 12:57 pm
Location: Tempe, AZ

Re: By The Way: This works for me using Windows, not Mac

Post by az2008 »

jab70 wrote:Any clues on how to achieve this from the mac side>?
Mac OS is BSD under the covers? Does it have the iptables command? If so, the wiki FAQ on the topic (find/change proxy) describes how to use the iptables command to drop packets destined for an IP address.

Mark
See the MagicJack Wiki (FAQ, How-To, history and more).
jab70
MagicJack Newbie
Posts: 2
Joined: Tue Jan 20, 2009 9:29 pm

Correct but...

Post by jab70 »

So I was successful in "dropping" the packets destined for the Atlanta Server, using both the route commands and using IPTABLES in my TOMATO router.

What happens is, since the MagickJack Soft-phone cannot "Reach" Atlanta, the program appears NOT to attempt to connect to other Proxies. It just errors out, and says "Please connect to the internet".

So it looks(or is hould say I believe) like the Mac App relies on the intendid server for operating.

Thanks
az2008
MagicJack Sensei
Posts: 1404
Joined: Wed Aug 20, 2008 12:57 pm
Location: Tempe, AZ

Re: Correct but...

Post by az2008 »

jab70 wrote:So it looks(or is hould say I believe) like the Mac App relies on the intendid server for operating.
That could be true. The Windows magicjack.exe (the process running in memory) contains a list of proxy servers, and it will try them in the order they occur. The more it tries, the longer it takes (up to 10 minutes maybe).

Using the wiki how-to as a guide, you should try to find Mac equivalents to pmdump and wireshark. See if the process in memory has anything resembling the list of proxies. And, watch what happens as MJ starts (what's the network traffic?).

Mark
See the MagicJack Wiki (FAQ, How-To, history and more).
hsweiss
Dan Should Pay Me
Posts: 563
Joined: Fri Mar 28, 2008 10:04 pm
Location: Maryland

Re: Correct but...

Post by hsweiss »

jab70 wrote:So I was successful in "dropping" the packets destined for the Atlanta Server, using both the route commands and using IPTABLES in my TOMATO router.

What happens is, since the MagickJack Soft-phone cannot "Reach" Atlanta, the program appears NOT to attempt to connect to other Proxies. It just errors out, and says "Please connect to the internet".

So it looks(or is hould say I believe) like the Mac App relies on the intendid server for operating.

Thanks
At least on Windows, if you restart MJ it will try another proxy. Use Wireshark to see where MJ is trying to connect after a restart of the soft phone.
kc3ol
MagicJack Newbie
Posts: 6
Joined: Mon Dec 29, 2008 9:41 pm

Post by kc3ol »

Use a softphone such as X-Lite or Eyebeam and you can specify which server you desire in the SIP account settings on the softphone.
arcadia2uk
Dan isn't smart enough to hire me
Posts: 187
Joined: Sun Dec 07, 2008 9:03 pm

Post by arcadia2uk »

Does anyone now the purpose of MJ connectiong to the vms server?
I have never heard about this before, all discussions have been aimed at the proxy server only, or have I missed something?
az2008
MagicJack Sensei
Posts: 1404
Joined: Wed Aug 20, 2008 12:57 pm
Location: Tempe, AZ

Post by az2008 »

arcadia2uk wrote:Does anyone now the purpose of MJ connectiong to the vms server?
See the wiki: http://en.wikibooks.org/wiki/MagicJack/ ... Background

Mark
See the MagicJack Wiki (FAQ, How-To, history and more).
Post Reply