Am I missing something? What does this have to do with Asterisk? ---- Original Message ---- From: crazydog@waltdavis.net To: asterisk-users@lists.digium.com, Subject: RE: [Asterisk-Users] V 1.3 Guidlines for Custom Rules Date: Sat, 3 May 2003 17:19:09 -0700 (PDT)>So what are the guidlines for adding custom rules to the new version >1.2? > >Lets take an example. Lets say I am an internal desktop A >(192.168.0.6) >that I wish to restrict access. How about we only allow the computer >to >access a server A (192.168.1.6) in our DMZ. > >I could just do this: > >iptables -I INPUT 1 -p tcp -i eth0 -s 192.168.0.6 -d 192.168.1.6 -j >ACCEPT >iptables -I INPUT 2 -p tcp -i eth0 -s 192.168.0.6 -j REJECT > >Or should I do something else? > >Sincerely, > >-- >Walt Davis >www.waltdavis.net > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >
Nope your not!!!! Sorry I posted to the wrong list.> Am I missing something? What does this have to do with Asterisk? > > ---- Original Message ---- > From: crazydog@waltdavis.net > To: asterisk-users@lists.digium.com, > Subject: RE: [Asterisk-Users] V 1.3 Guidlines for Custom Rules > Date: Sat, 3 May 2003 17:19:09 -0700 (PDT) > >>So what are the guidlines for adding custom rules to the new version >> 1.2? >> >>Lets take an example. Lets say I am an internal desktop A >>(192.168.0.6) >>that I wish to restrict access. How about we only allow the computer >> to >>access a server A (192.168.1.6) in our DMZ. >> >>I could just do this: >> >>iptables -I INPUT 1 -p tcp -i eth0 -s 192.168.0.6 -d 192.168.1.6 -j >> ACCEPT >>iptables -I INPUT 2 -p tcp -i eth0 -s 192.168.0.6 -j REJECT >> >>Or should I do something else? >> >>Sincerely, >> >>-- >>Walt Davis >>www.waltdavis.net >> >> >>_______________________________________________ >>Asterisk-Users mailing list >>Asterisk-Users@lists.digium.com >>http://lists.digium.com/mailman/listinfo/asterisk-users >> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users