LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-16-2004, 08:12 AM   #1
Michele
Member
 
Registered: Feb 2001
Location: Detroit
Posts: 31

Rep: Reputation: 15
Question why does shorewall block my websites and vsftp stop postfix?


I have two problems:

One, I can't get a secure ftp client to work on my Mandrake 9.1 os, when I turn it on Postfix stops working. I have tried proftpd and vsftpd.

Two, when I turn on shorewall, you can no longer access any of the websites (3) on the server.

These two things are happening on the same machine.

Thanks,

Michele
 
Old 06-16-2004, 11:45 PM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
To get the websites viewable, I think you need to add this line to /etc/shorewall/rules (I haven't used shorewall in a long time)
Code:
ACCEPT     all     fw     tcp     www
Not too sure why postfix and secure ftp don't work together.

--mascdman
 
Old 06-17-2004, 11:59 AM   #3
Michele
Member
 
Registered: Feb 2001
Location: Detroit
Posts: 31

Original Poster
Rep: Reputation: 15
Ok, Thank you, I added the line and started shorewall and it appears to have worked, now on to vsftpd.

Thanks so much.

Michele
 
Old 06-17-2004, 09:33 PM   #4
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Are there any error messages reported by postfix or vsftpd?

--mascdman
 
Old 06-17-2004, 11:04 PM   #5
Michele
Member
 
Registered: Feb 2001
Location: Detroit
Posts: 31

Original Poster
Rep: Reputation: 15
No, that was what was so weird maskedman, there weren't . Postfix complained about differences in the alias
files, but I solved that by copying over the /etc/postfix/aliases to /etc/aliases and then
it was happy.

But, as I was looking through here I noticed some other posts
about the secure ftp programs, namely proftpd and vsftpd
and they indicated that in the conf file the anonymous user
must be enabled. Which I don't understand because
I thought that was a bad thing to do. But when I did it and restarted
vsftpd everything is working now including the websites and shorewall.

Who knew?

Michele
 
Old 06-18-2004, 12:01 AM   #6
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Yeah, that is weird. If you're careful with anonymous access enabled it's alright. You may wish to configure anonymous logins to be chrooted and download-only (or disable deleting files and resuming uploads). Glad to hear it's working, though.

--mascdman
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't stop anonymous vsftp users lagu2653 Linux - Networking 2 11-17-2005 09:54 PM
how to stop certain websites to open from FireFox ? indian Linux - General 2 10-18-2004 12:02 AM
how to block websites .. huno Linux - Software 5 04-22-2004 08:31 PM
Can't ping/ssh my box, Shorewall seems to block all traffic except http / ftp tiduck Linux - Networking 10 05-22-2003 09:21 PM
Mandrake 9.0: Postfix 1.1.11 and Shorewall 1.3.7c Kejope Linux - Networking 1 04-29-2003 12:32 AM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration