On Tue, 2003-10-28 at 08:34, Manuel Tato wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i'm configuring a firewall/router with a static ip ADSL and a voice IP gateway. The voiceip gw es in configured at 192.168.1.40. With this script i can make calls, but i cant recive any. - --------------------------------------------------- echo 1 > /proc/sys/net/ipv4/ip_forward modprobe ip_conntrack_h323 modprobe ip_nat_h323 iptables -A INPUT -j ACCEPT iptables -A FORWARD -j ACCEPT iptables -A OUTPUT -j ACCEPT iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -t nat -A PREROUTING -p tcp --dport 1726:1789 -i eth1 -j DNAT - --to 192.168.1.40:1726:1789 iptables -A FORWARD -i eth1 -p tcp -d 192.168.1.40 --dport 1726:1789 -j ACCEPT iptables -t nat -A PREROUTING -p udp --dport 1726:1789 -i eth1 -j DNAT - --to 192.168.1.40:1726:1789 iptables -A FORWARD -i eth1 -p udp -d 192.168.1.40 --dport 1726:1789 -j ACCEPT - ----------------------------------------------------- Any idea? i'm blocking ports? i need any other module?? thanks in advance thanks a lot... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/nY98W/G6GKzQKp4RAndEAJ4pYh04AZuTc/f8MQ8Ae6RB/GpRFgCgkaCg SwAh5HHLSdd0rj68FzTPdXY= =RcOK -----END PGP SIGNATURE-----
Regards Evan Davies. Network and System Administrator. VoicePlus Data Pty Ltd. 1 / 34 Burton St, Milsons Point. NSW 2061. Tel: +61 2 9955 3429 Fax: +61 2 9955 3465 Mobile: 0414 422 234 Email: evand@xxxxxxxxxxxxxxxx The email address used for sending this message is not to be added to any database, list or mailing list without my prior, explicit permission. This e-mail is intended for use of the individual or entity above and may contain information that is confidential and privileged. Note if you are the intended recipient, you are hereby notified that any dissemination, distribution or copying of the e-mail is strictly prohibited. If you have received this e-mail in error, please notify us immediately at evand@xxxxxxxxxxxxxxxx and destroy the original message. While this e-mail and any attachments have been scanned for common computer viruses and found to be virus free, we recommend you also perform your own virus checking processes before opening any attachments. |
Attachment:
signature.asc
Description: This is a digitally signed message part