LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2003, 07:04 AM   #1
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
allowing FTP and HTTP


Hello!
I have, as I think good IPtables script, friend game it to me
Now I have configured Apache and Proftpd, so they work fine ... without rc.firewall
Maybe someone knows how to write a rule to let Apache(80) and ProFTPD(21,20) work fine with rc.firewall?
 
Old 06-26-2003, 12:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Here you go:
iptables -A INPUT -p tcp --dport X -j ACCEPT

Just replace X with the port you want to allow.
 
Old 06-27-2003, 03:28 AM   #3
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
thnx David, now servers work fine
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing FTP thru Squid? krishvij Linux - Security 2 06-28-2005 11:40 PM
Allowing FTP in RH9 jrwizzard Linux - Newbie 1 09-09-2004 03:35 PM
Allowing ssh ftp through the firewall jmg1894 Linux - Newbie 5 07-08-2004 02:42 PM
allowing ftp connection jeanfey Linux - Security 9 05-21-2002 08:01 AM
allowing http, smtp, irc from private lan munisp Linux - Networking 1 12-17-2001 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration