masquerade question
Hi all,
I have a question with masquerade/ipchains
Debian "frozen" (2.2.16) (ipmasq 3.4.4)
I have static ip on eth0 193.193.22.22 (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 205.244.199.3 ftp
I trying this:
ipchains -A output -s 192.168.2.0/24 0:65535 -d 205.244.199.3/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
Emilis
Reply to: