K
kiko
Guest
I'm new in iptables so I need a little help.
I have the machine with next network card configuration:
eth0 - internal network, 10.x.x.x
eth1 - wan, static IP address
I executed the next iptable commands:
iptables -F
iptables -A INPUT -i eth1 -j REJECT
Everything is fine: the machine can not be "ping" by its static ip address over Internet and is fully reachable from the internal net.
but when I do ping from the machine: ping [some address on the internet] the address can not be reached.
but
iptables -F
ping [some address on the internet]
the address can be reached.
What did I do wrong?
I have the machine with next network card configuration:
eth0 - internal network, 10.x.x.x
eth1 - wan, static IP address
I executed the next iptable commands:
iptables -F
iptables -A INPUT -i eth1 -j REJECT
Everything is fine: the machine can not be "ping" by its static ip address over Internet and is fully reachable from the internal net.
but when I do ping from the machine: ping [some address on the internet] the address can not be reached.
but
iptables -F
ping [some address on the internet]
the address can be reached.
What did I do wrong?