LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-08-2010, 08:10 PM   #1
deco5003
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Rep: Reputation: 0
secure server with ssl


I installed a debian lenny server. Now I have working apache with a web site, proftp and ispconfig3.The server is a secure server with ssl certificates, redirecting the request to https. Also a got a DYN DNS account for server.dnsalias.com and I had enabled that service on the cable modem the service is active. The problem is that I can access the web site with https://server.dnsalias.com but I cannot access ISPCONFIG3 or PROFTPD. I must use the server ip https://192.168.1.100:8080 or ftp://192.168.1.100
What I need to do in order to have access to this apps by server.dnsalias.com
>Thanks
 
Old 04-08-2010, 10:19 PM   #2
mweed
Member
 
Registered: Mar 2006
Posts: 33

Rep: Reputation: 17
Are you literally using the 192.168.x.x IP addresses or just using RFC1918 space as an example? If those IPs are the ones you are using you problem is that ports 8080 and 20/21 are blocked on the firewall. I am assuming you are using NAT from here on.

The dnsalias record will be using the public IP address. So when you try to access that IP it will go up the network stack and get NATed to the public ip. It will then attempt to access that public IP, but as if it were coming from the outside.

Configure your firewall to allow traffic from your public to your public IP.

Another, less likely, possibility is that you have a dynamic NAT situation where multiple private space IPs share a single public space IP. If this is the case they port forwarding is already set up for port 80. Add ports 8080 and 20/21 the same way port 80 is added. Be mindful of security consequences on access to administrative and ftp ports from the general internet. Only look into port forwarding if you know you are using dynamic NAT.
 
Old 04-09-2010, 09:26 AM   #3
deco5003
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Original Poster
Rep: Reputation: 0
secure server with ssl

Thanks for the advice IT Works!! I just enable that ports on the Firewall Cable Modem admin page and thats it!.

Thank you
 
Old 04-10-2010, 12:24 PM   #4
deco5003
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Configuring Mail Server

I installed a Debian lenny server. Now I have working apache with a web site, proftp and ispconfig3.The server is a secure server with ssl certificates, redirecting the request to https. Also a got a DYN DNS account for server.dnsalias.com and I had enabled that service on the cable modem the service is active. Now that I was able to enable the necessary ports on the cable modem firewall page I got everything working on. Now I can access my server from Internet. But I still need to do something. And is to setup the Mail server with squirrelmal. I try to follow this guide: “Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Mandriva 2009.1 x86_64) Version 1.0 Author: Falko Timme”. First I don’t know if this guide also applies to Debian. And second I have this question. The domains table will store each virtual domain that Postfix should receive emails for (e.g. example.com). But in my case which would it be deccom.com (my hostname is dec1.deccom.com) or the one that I use to have internet access. This is deccom.dnsalias.com
Thank for your advice.
 
Old 04-12-2010, 06:39 PM   #5
deco5003
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Configuring a Mail server

Oh Thanks I found this new guide http://www.howtoforge.com/virtual-us...l-debian-lenny I guess is more appropriate than the other I was trying to follow. Well it just remains the question about the domains table which will store the virtual domain that Postfix should receive emails for (e.g. example.com). In my case which domain name must be included in this table? The domain name of host (dec1.deccom.com) or the one that I am using to connect the server to Internet deccom.dnsalias.com.
Thanks for the advice
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
rdesktop to secure Win server (using SSL certs) mlev Linux - Software 3 12-04-2009 02:04 PM
LXer: Secure FTP with SSL With Ubuntu 9.10 LXer Syndicated Linux News 0 10-27-2009 05:20 PM
How secure is SSL? abefroman Linux - Security 19 04-27-2009 06:21 AM
LXer: Secure your webserver using SSL and TinyCA LXer Syndicated Linux News 0 10-08-2007 02:30 PM
Secure email (SSL vs. secure authentication) jrdioko Linux - Newbie 2 11-28-2004 01:39 PM


All times are GMT -5. The time now is 02:33 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