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

Re: Dialpad and ipchains



Hi Ray,

On Thu, Sep 14, 2000 at 12:00:59PM -0600, Ray Percival wrote:
> Does anybody have a working recipe for making dialpad work through a
> ipchains firewall. I'm using floppyfw and think I have the rules right but
> it is not working. Perhaps a example rule to open port x on TCP. Thanks in
> advance.

I have two sets of rules for dialpad.  I have not used dialpad in a couple of
months and do not remember which set of rules will work, but one of them
should.  :)  Here is the first ruleset:

---  Rules for Dialpad #1
ipmasqadm autofw -A -v -u -r udp 51200 51201 -c tcp 7175
ipmasqadm autofw -A -v -u -r tcp 51210 51210 -c tcp 7175
---

Thats it.  Pretty simple...  but I don't rember if it works.  Here is the
second ruleset:

---  Rules for Dialpad #2
IP_REAL="FIREWALL_INTERNET_IP"    #eg. 24.48.96.221
TOIP_PC="INTERNAL_ADDRESS_OF_PC"  #eg. 192.168.1.20

ipmasqadm portfw -a -P tcp -L $IP_REAL 51210 -R $TOIP_PC 51210 
ipmasqadm portfw -a -P upd -L $IP_REAL 51201 -R $TOIP_PC 51201 
ipmasqadm portfw -a -P upd -L $IP_REAL 51200 -R $TOIP_PC 51200 
---

I am fairly sure the second rule will work.  The first may to, but I do not
remember.  Nearther of the rules runs ipchanins to open the ports but you
would just use the above ports in an ACCEPT rule.  The annoying thing about
the second ruleset of course it that it is for one PC only.  I believe I
found that it was the only way to get it working.

IIRC, there is firewall information in the FAQs on the dialpad web site.  BTW,
to view the above rules you can type 'ipmasqadm portfw -ln', if you did not
already know.  Good luck.

Taylor




Reply to: