[Asterisk-Users] V 1.3 Guidlines for Custom Rules

Walt Davis crazydog at waltdavis.net
Sat May 3 17:19:09 MST 2003


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





More information about the asterisk-users mailing list