Linux Netfilter discussions
 help / color / mirror / Atom feed
* To protect random ftp port
@ 2003-06-20  5:11 Albert Wan
  0 siblings, 0 replies; only message in thread
From: Albert Wan @ 2003-06-20  5:11 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

Dear Sir,

I would like to post this message to the list to see if any suggestion to my problem.

I have install a Linux web server with https service putting to Internet with external address.  The traffic coming from our web application to the web server through web page which is access from outside. The other way of traffic coming from our internet LAN network using ftp upload and downlad files to the web server. Our web application is designed with ramdom port for ftp access. That is no fix port number defined. The port 80 and 443 are always open when start up the web server.

My question is do I have to open all ports using the following commands in order to tailor for my ftp ramdom port access? Is there any alternative way to set up?
$ iptables -A INPUT -p tcp -i eth0 -s 0/0 -d 0/0 --dport 0:65535 -j ACCEPT
$ iptables -A INPUT -p udp -i eth0 -s 0/0 -d 0/0 --dport 0:65535 -j ACCEPT

When I set up these commands in the web server, it seems block all the traffic from outside browser. What is your suggestion?

Looking for your kind replay.

Albert


[-- Attachment #2: Type: text/html, Size: 1781 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-20  5:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-20  5:11 To protect random ftp port Albert Wan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox