Re: Simple NAT, stupid problem???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





>   Thanks for all, and also sorry for my poor written english.

Don't feel bad, your English is fine. 我唔識寫中文 :(

>   Let me explain it better:
>   I have 1 LAN (192.168.0.0/24) and 1 Internet Connection(61.93.xx.xx). A
> multi-homed computer is used to provide proxy and Internet Connection
> Sharing services, which is a Windows XP Professionial Machine.
>   I use simple ethernet to connect to ISP (that is no PPPoE, or any other
> special method to login).

I suspect that some combination of Telephony service, ICS, and ICF /
Windows Firewall is causing your trouble.  If you can boot up a Linux
partition, I think you will find that gnugk runs fine.  If it is not practical
for you to use Linux, BSD, etc. for your gateway, try to determine
what is not working in Windows:

You can easily test with the firewall disabled.  Before doing so, of course,
make sure that you have all security updates installed, and disable
file and print sharing, and any other services that you don't want to
be accessed from outside.  You can use "netstat -o -a" to see
what ports are open and what processes are listening on them.

If it works with the firewall off, it may just be the audio packets being
blocked.   Try setting RTPPortRange to a few ports and opening those
UDP ports in the firewall.

If not, try a test with ICS and Telephony also disabled.  When you turn
off ICS, the settings for your LAN interface may be reset.  If so, manually
configure it for a 192.168.0.1 static IP.  Then, after a reboot, Telephony
should not be running.  If it is, stop it manually.  Of course, in this test
setup, the other hosts on your LAN won't be able to access the Internet,
but your IP phone and your friend's endpoint should be able to register
with gnugk, and I believe that calls should be possible.  If not, try adding
NetworkInterfaces=192.168.0.1/24,61.93.xx.xx/xx.  If it still doesn't
work, you should run Ethereal on both interfaces to see why the proxy
isn't doing its job.

If gnugk runs ok when ICS, etc. is disabled, you have several options:
1. Use an inexpensive hardware router for NAT.  Choose one that allows
    you to forward required port ranges to gnugk.
2. Use a third-party NAT software, instead of ICS.
3. If your other hosts only need to access the Internet for Web and email
    (and VoIP), you could use an application proxy instead of NAT.
4. Find out precisely what fails when ICS is enabled.  There may be a
    workaround in the configuration, or with a patch to the source.

>   Once I downloaded the the GNUGK, I modified a little bit in proxy.ini(just
> change the network address of my NATed subnet)in the folder "etc". And I
> started the gnugk, also set my netmeeting and ip phone to register with my
> Gatekeeper which is located on 192.168.0.1. Then I ask somebody connected
> from the internet, and ask them to register with 61.93.xx.xx.
>
>    I have tried for inbound and outbound call - with E.164 number. Firstly I
> use my IP Phone to dial to other parties on internet (outside), the user did
> press "Accept" in Netmeeting, but my phone continue to ring until suddenly
> disconnected, with status port (7000) report to telnet: NormalDrop
> (normal!?)

I don't have a Planet IP phone, but do use some of their gateways.
Those have a bug (feature?) that causes the ringback to continue to
play, until audio packets are received from the destination, when fast
start is not used.

>   For inbound call, I pick up the phone, and it seems it is connected. But
> none of the parties can hear another.
>   Actually some months before I have tried it (older version of GNUGK) in
> another multi-home computer, but in Linux Environment. It worked great! I
> even copied the working ini file to my winXP, but with no luck at all.
>   But this time, I have tried GNUGK in 2 different computer - 1 is WinXP (my
> home), another one is in my workplace, which I have tried two different
> versions of gnugk - 2.2.0 and also 2.0.9, but same situation occurs in my
> home Windows XP computer.
>
>    Thanks for your reply and advise.
>
> Yours sincerely,
> Jason Chan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux