>> Maaf kl malah bikin bingung....he he he. >> >> Salam, >> bill > > gak bingung, > yg bingung 192.168.0.2 - 192.168.0.32 dibikin satu subnet mask :D > > subnet masking itu setahu saya harus ngikut aturan
Hehehe maaf kalo bikin bingung, sebenarnya tujuan akhir yang saya mau udah dapat sih, cuma iseng aja nanya kalo ada jalan yang lebih singkat iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.0.0/24 -o eth1 iptables -t nat -A PREROUTING -j DROP -p tcp -s 192.168.0.3/32 -d 0/0 --dport 25 iptables -t nat -A PREROUTING -j DROP -p tcp -s 192.168.0.4/32 -d 0/0 --dport 25 iptables -t nat -A PREROUTING -j DROP -p tcp -s 192.168.0.5/32 -d 0/0 --dport 25 iptables -t nat -A PREROUTING -j DROP -p tcp -s 192.168.0.6/32 -d 0/0 --dport 25 iptables -t nat -A PREROUTING -j DROP -p tcp -s 192.168.0.7/32 -d 0/0 --dport 25 iptables -t nat -A PREROUTING -j DROP -p tcp -s 192.168.0.8/32 -d 0/0 --dport 25 dst dst di rules firewall saya jadi panjang kalo saya mau block port 25 mulai dari ip 192.168.0.3 s/d 192.168.0.32 Terima kasih ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/vbOolB/TM --------------------------------------------------------------------~-> Official Web Site : http://www.awari.or.id Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/asosiasi-warnet/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

