bhomas
July 14th, 2012, 11:16 PM
I used this command
iptables -A OUTPUT -p tcp -s 192.168.1.0-192.168.1.255 --sport 5432 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT
to open up firewall in my VirtualBox running Ubuntu. This worked in another instance before.
now I get a
iptables v1.4.12: host/network `192.168.1.0-192.168.1.255' not found
I ping the host system by ip
ping 192.168.1.103, and it responded.
Why would iptables command fail?
iptables -A OUTPUT -p tcp -s 192.168.1.0-192.168.1.255 --sport 5432 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT
to open up firewall in my VirtualBox running Ubuntu. This worked in another instance before.
now I get a
iptables v1.4.12: host/network `192.168.1.0-192.168.1.255' not found
I ping the host system by ip
ping 192.168.1.103, and it responded.
Why would iptables command fail?