I have a question with masquerade/ipchains
Debian "frozen" (2.2.16) (ipmasq 3.4.4)
I have static ip on eth0 220.127.116.11 (for example)
Local network eth1 192.168.2.0
Masquerading with standart debian configuration.
How i can block connecting from local network to some external ip ?
for example: blocking 192.168.2.0/24 connections to 18.104.22.168 ftp
I trying this:
ipchains -A output -s 192.168.2.0/24 0:65535 -d 22.214.171.124/32 21 -p tcp -l -j DENY
But local user still can connect to this ftp..
What is wrong in this rule ?
Sorry for newbie question, and for pure english