iptables and port blocking
Alright here's a question not sure if it can be done but here goes. There is a secure ftp site that we use only trouble is that if you just goto the main ftp it is not secure I want to block the unsecure link from going out.
They both go through port 21 so I can't block the port and since ABC is a subdirectory of ftp://example.com I cannot block the IP of ftp://example.com.
So I looked closer comparing the connections made when you link to the different ftp sites, the ftp://example.com seems to reply from 23xxx tcp and I am hoping there is a way to block an entire port range to a particular IP address, I am hoping this will do the job.