From: "Albert Wan" <albert.wan@infohk.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: To protect random ftp port
Date: Fri, 20 Jun 2003 13:11:34 +0800 [thread overview]
Message-ID: <008e01c336ea$6b9af370$0c01a8c0@albert> (raw)
[-- 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 --]
reply other threads:[~2003-06-20 5:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='008e01c336ea$6b9af370$0c01a8c0@albert' \
--to=albert.wan@infohk.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox