Imi cer scuze :( . Am facut acuma cum trebuie si imi afiseaza exact cum
e si la dumneavoastra.
lonely wolf wrote:
Andrei wrote:
Am facut ce ati spus; imi afiseaza la fel ca inainte de a-i pune -I
INPUT -s 192.168.1.1 -j ACCEPT.
ati uitat partea cu echo de la inceput :)
[EMAIL PROTECTED] ~]# iptables -I INPUT -s 192.168.1.1 -j ACCEPT
[EMAIL PROTECTED] ~]# iptables -L INPUT
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 192.168.1.1 anywhere
[EMAIL PROTECTED] ~]# echo "192.168.1.1 ibm.com" >> /etc/hosts
[EMAIL PROTECTED] ~]# iptables -L INPUT
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- ibm.com anywhere
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
srv-intern all -- anywhere anywhere state NEW
srv-extern all -- anywhere anywhere state NEW
in-serv tcp -- anywhere anywhere state NEW
in-serv-udp udp -- anywhere anywhere state NEW
ACCEPT icmp -- anywhere anywhere icmp any
DROP all -- anywhere anywhere
lonely wolf wrote:
[1] incearca urmatoarea chestie:
echo "192.168.1.1 www.fbi.gov" >> /etc/hosts
iptables -I INPUT -s 192.1681.1 -j ACCEPT
iptables -L INPUT
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug