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

2nd December 2008, 06:38 PM
|
|
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.
|

2nd December 2008, 09:42 PM
|
|
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.
|

2nd December 2008, 11:51 PM
|
|
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?
|

3rd December 2008, 01:15 AM
|
 |
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.
|

3rd December 2008, 01:54 AM
|
|
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)
|

3rd December 2008, 03:53 AM
|
 |
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
|

3rd December 2008, 04:36 AM
|
|
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!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 10:06 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|