Subject: dialpad and ipnat
To: None <netbsd-help@netbsd.org>
From: Zach Fine <zach@xdsl014.serv.net>
List: netbsd-help
Date: 06/18/2000 01:38:52
Dialpad is a service that allows folk to make free long distance calls
over the net, and www.dialpad.com provides instructions for setting up
many types of router and gateway (including Linux IPmasq) so that
users inside properly configured firewalls or gateways can use the
dialpad service.
I am having trouble figuring out what rule I need to place in my
ipnat.conf in order to let users on my home network use dialpad -- at
the moment it's possible to speak to the person at the other end of
the conversation, but not to hear them.
Their instructions say:
----------------------
Map the following incoming ports on the server:
UDP: 51200, 51201
TCP: 51210
If you need a trigger, use TCP: 7175 (outgoing)
----------------------
and for Linux using IPmasq, they recommend adding the following lines to
the rc.local:
/usr/sbin/ipmasqadm autofw -A -v -u -r udp 51200 51201 -c tcp 7175
/usr/sbin/ipmasqadm autofw -A -v -u -r tcp 51210 51210 -c tcp 7175
I've tried adding the following lines to my /etc/ipnat.conf, in the
hopes that they would allow a particular computer on my lan to use
dialpad, but it isn't working:
rdr ep0 207.207.83.53/32 port 51200 -> 192.168.1.2 port 7175
rdr ep0 207.207.83.53/32 port 51201 -> 192.168.1.2 port 7175
rdr ep0 207.207.83.53/32 port 51210 -> 192.168.1.2 port 7175
Any help would be appreciated. Apparently dialpad works really well
when run from a machine that has its own IP address or is behind a
properly configured gateway, and the folk on my lan would like to be
able to use it.
Thanks.
-Zach Fine
czyz@serv.net