Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd December 2008, 06:38 PM
Mr. Print Offline
Registered User
 
Join Date: Oct 2008
Location: Chattanooga, TN, USA
Posts: 81
vsftpd connection problem outside network

I have set up vsftpd on a virtual server. I am able to connect to the individual virtual sites provided I use the IP address of the server on the local network, however I am unable to connect if using the domain.name of the individual sites. I have tried reading the posts in this forum about FTP, would someone help me here or at least point me in a direction for answers. I have port 21, 22, 25, 80, and 110 open on the router, and I don't believe SELinux is causing a problem. Thanks in advance.
Reply With Quote
  #2  
Old 2nd December 2008, 09:42 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
Just for kicks, disable SELinux, see what happens.
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
Reply With Quote
  #3  
Old 2nd December 2008, 11:51 PM
Mr. Print Offline
Registered User
 
Join Date: Oct 2008
Location: Chattanooga, TN, USA
Posts: 81
I will be happy to disable, however I'm running in permissive mode. Should I go ahead and disable?
Reply With Quote
  #4  
Old 3rd December 2008, 01:15 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Ah, shouldn't make a difference--it should just say, if I were in a bad mood, this stuff wouldn't get through.
Firewall? iptables?

One possibility is to start simply. See if you can get the main site going. For example, say you have the domain mrprint.net. Set up one site, have the router forward to it and see if mrprint.net gets through.

I'm a wee bit confused though--are these virtual servers on your home network? Connecting by IP but not by name means a DNS issue. If it's all on your local network, say mrprint.com, there has to be a DNS reference for it somewhere. Is that clear? (Probably not.)

In other words, I have scottro.net. Say I have a main machine at 192.168.1.100. Now, I have a virtual machine running ftp at 192.168.1.101.
So, I set the router up to forward ftp requests to 192.168.1.101

If the Internet knows about scottro.net, and I do ftp scottro.net, the router will forward it to the virtual server at 192.168.101.
Reply With Quote
  #5  
Old 3rd December 2008, 01:54 AM
Mr. Print Offline
Registered User
 
Join Date: Oct 2008
Location: Chattanooga, TN, USA
Posts: 81
I don't know that I fully understand, but I think that I have what is mentioned above. I have a static IP and the A register of my domain.name points to the IP address of my main site, and the domain.name has world-wide access to the server, the following virtual domains A register also points to my IP and they all have world-wide access. The Local network IP address of the server is 192.168.0.19, using that IP address on my local network I can connect to each domain via of ftp with user-name and password. However if I use the site domain.name none of the sites are available via ftp, yet I can reach each site with its domain.name via of the web. If you PM me I will provide checkdns records or other info you request. Thanks for the help, it is greatly appreciated (using standalone IPv4)
Reply With Quote
  #6  
Old 3rd December 2008, 03:53 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
PM's aren't good for this sort of thing, especially as I'm not all that familiar with vsftpd. Trust me, you're much better off when everyone can see it, and possibly correct me.
(I understand you're talking about information that you don't want to share, but to be honest, I don't know enough about it to be a big help there.

Ok, so you have mrprint.org, or whatever it's called. You have an FTP server on 192.168.0.19 Your router forwards port 21, etc., to 192.168.0.19

Here's where my famliarity with vsftpd ends, and I can't be much help. However, I do wonder, what if you just have one site, say, ftp.mrprint.org, rather than several. I would see if I could get that to work first. If you can, then you can start working on the virtual sites.

My guess, but it's only a big guess, (I repeat, I'm not too familiar with vsftpd) is that the basic setup is probably right, but somewhere you've made an error with configuration of the virtual domains. (Which I didn't even know was available with vsftpd.) Your DNS and such is probably right since you say the web can get through to each of them properly.

Where did you configure the virtual domain for FTP? In the vsftpd setup?

I see this thread on it, which though old, might help.

http://forums.fedoraforum.org/showthread.php?t=155953
Reply With Quote
  #7  
Old 3rd December 2008, 04:36 AM
Mr. Print Offline
Registered User
 
Join Date: Oct 2008
Location: Chattanooga, TN, USA
Posts: 81
Excellent post. Just what I've been searching for via of the listed link. Will review and check for errors in my setup. Will post back upon resolving my problem. (This may take me a little time). Great forum, thanks!
Reply With Quote
Reply

Tags
connection, network, problem, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with network connection In_Mengamuk Using Fedora 2 23rd October 2008 10:38 PM
Problem with network connection chelman Hardware & Laptops 1 2nd September 2008 11:13 PM
Network connection problem linux-addict Servers & Networking 17 18th November 2006 03:12 PM
VSFTPD Connection Problem nupe494 Servers & Networking 4 22nd September 2005 05:12 PM


Current GMT-time: 08:39 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat