LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2003, 10:42 AM   #1
outlawpsd
LQ Newbie
 
Registered: Aug 2003
Location: Houston
Distribution: Slackware 9.1
Posts: 13

Rep: Reputation: Disabled
What in the world am I doing wrong?!?!


I'll try to make this as short and complete as possible. I recently switched to Linux and am trying to get a server setup to do interal file sharing, external mail, ftp, web, and vpn.

I am an @home user and had all the above setup on win 2k box so I know that it will work. I am using tzo for my dynamic dns and using my isp dns servers for all my dns. This is how the setup worked before.

Current configuration is as follows (using SUSE 8.2 Pro for all Linux machines):

@home cable -> Linksys Router -> internal network that consists of my Linux box (server) and 2 Win XP machine along with Linux on a laptop. I have given my Linux Server a static ip of 192.168.1.100 and manually entered the DNS from my ISP. I have set the hostname and the domain on the box. I have gone into my router and placed the Linux Box in the DMZ as well.

So far file sharing in the interal network works fine. No problems there.

Using Postfix (and reading through as much as I can on the net) I have it setup and can send email out, but get no email back in?!?!

I have not configured any type of fire wall but on a port scan at grc.com all my ports are closed. Is this the problem? If so where is the config file for iptables to open them up? I tried enabeling the SUSE firewall but after another scan they still show closed? On my 2K box they would show open so I am hoping that I am going in the right direction here on why I can't get any email from the outside world.

Outlaw
 
Old 08-18-2003, 12:09 PM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
From what I see.. you want to be able to access that computer form the outside
Go into your router, and make a DMZ, it's under the advanced tab (or something like that)
Enter your computer's internal IP there.

What this does is.. it routes all external connections to that comp, instead of the router, or of the comp it is configured for now. That'll let you receive email from the outside. Though be warned.. people will be able to portscan you.. and your computer will not be procteded by the router. Much less secure. I'd run some kind of firewall on that computer. (on all, but especially that one) Check out tldp.org for a tutorial on securing linux.

Happy emailing
 
Old 08-18-2003, 12:32 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Rather than setting up a DMZ, I'd just investigate port forwarding with your router. Linksys routers can forward any port to any IP (that is what I do so I can access my linux box via ssh). That way you're just forwarding the ports you need. No sense in exposing your entire machine when you only need to feed a few services.
 
Old 08-18-2003, 04:21 PM   #4
outlawpsd
LQ Newbie
 
Registered: Aug 2003
Location: Houston
Distribution: Slackware 9.1
Posts: 13

Original Poster
Rep: Reputation: Disabled
It is already in the DMZ, and I have tried using the port forwarding. The problem is when I scan the Linux box it is showing the port as closed on grc.com. Should it say closed or open? On my Win2k box those ports (SMTP, WEB, FTP) would show open. Please note that I am running SUSE 8.2 and have the firewall turned off.

If I enable to firewall under SUSE and select these services (SMTP, WEB, FTP) to run they still show closed. I can even take my router out and plug straight into the cable modem. That is why I want to know if I need to modify IPTABLES to open the ports.

Outlaw
 
Old 08-18-2003, 05:35 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
The only way to know if your firewall is causing the trouble is to either turn it off and try connecting to your linux box or post it and let us take a look.

Try posting the output of iptables -L
 
  


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
kdevelop, hello world, /usr/lib/libkdeui.so: could not read symbols: File in wrong fo runlevel: 6 Programming 2 05-04-2005 12:37 AM
my time is wrong and calender is also wrong Paxmaster Linux - General 6 12-16-2004 12:46 AM
world writeable files will not stay world writeable antken Mandriva 1 03-02-2004 05:04 PM
Something wrong with this simple hello world prog mandrakeroot Programming 9 08-26-2003 05:24 PM
Hello World! flaw Linux - Newbie 6 09-19-2002 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 AM.

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