LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2003, 02:26 PM   #1
Dek
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat 8.0 - Kernel 2.4.20-8
Posts: 28

Rep: Reputation: 15
ftp server on client


My gateway is on Linux.
iptables is working and forwarding too.
I can access internet through all my clients (all Windows - XP or 98).
I want to use Bulletproof ftp server on Win98SE (installed on VMWare to be on the same computer as the gateway) cause i'm used too and console ftp clients are relunctant (i don't like them if you want). I don't know to install CrushFTP so i want my Bulletproof FTP server. VMWare networking works fine.
I have ADSL internet connection with dynamic IP. I'm using dns2go as dns service to set ftp://dek-ftp.dns2go:21 tp point to my current ADSL IP adress when connected.

Now i do i set up all this to make Bulletproof ftp server work on a Windows 98SE client through Linux Gateway.
So far my result are : Connection refused.

Dns2go points to the correct ip. I can acces to the ftp server within the LAN network.

Any idea ?

Thanks in advance !

Note : please read the first two replies of that post. I've added some things.

Dek

Last edited by Dek; 04-20-2003 at 07:24 PM.
 
Old 04-20-2003, 02:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Why do you want to use a windows ftp server?

Just use vsftpd or something.
 
Old 04-20-2003, 03:45 PM   #3
Dek
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat 8.0 - Kernel 2.4.20-8
Posts: 28

Original Poster
Rep: Reputation: 15
You haven't read all my post. I don't like console ftp server. There are not natural for me. I have hylafax and some others console tools to think of. I think this is enough. I want GUI ftp server and as far as i know, there is only one with shity - sorry for the word but that's my feeling - install procedure (CrushFTP).

I use Bulletproof ftp for 2 years now. I like it, i like the realtime log feature, the easy way to setup most of the things in it. I can't have that with console tools.

Maybe there is a way to transfert packet (incoming and outgoing) on a certain port (tcp 2500 for example) to a LAN ip adress via ethx, through an iptables rule.
For example, simple connection sharing is set this way on my linux gateway :
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE

I've think a little and so far this how i get :
- for incoming packet from ppp0 to port tcp 2500 who must be routed to the ip 192.168.1.4
iptables -A PREROUTING -t nat -i ppp0 -p tcp --dport 2500 -j SNAT --to 192.168.1.4
- Pour les packets venant de l'ip 192.168.1.4 (qui est sur eth1) et devant être envoyé vers ppp0
iptables -A OUTPUT -t nat -i eth1 -p tcp --sport 2500 -j SNAT --to ppp0

Is there mistakes ?

Dek

Last edited by Dek; 04-20-2003 at 07:23 PM.
 
Old 04-20-2003, 08:16 PM   #4
osfestus
Member
 
Registered: Feb 2003
Posts: 92

Rep: Reputation: 15
um, look, you really oughta listen to senor Ross on this one. Vsftpd is perfect, you don't need a GUI when there are really only a few parameters necessary to tweak to get what you need. Besides adding vmware and win98 to the mix really adds alot of unecessary complexity to network services. Just my two cents.
 
Old 04-20-2003, 11:30 PM   #5
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
i suggest learning how to use vsftp, by trying to set up a server in VMWare, you take a performance hit, not to mention the complexity.....and then its on win98....wow And wouldn't the files you share have to be located in the win98 vmware file system? Say you want to share a homework file you created in Linux, is it even possible to put it on the Bulletproof server without having to make an extra copy for win98 via ftp or something....sounds like trouble. Running an ftp server in win98/vmware is like buying a brand new Escalade EXT and puttin a Ugo engine in it.

Last edited by Robert0380; 04-20-2003 at 11:34 PM.
 
Old 04-21-2003, 09:14 AM   #6
Dek
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat 8.0 - Kernel 2.4.20-8
Posts: 28

Original Poster
Rep: Reputation: 15
Thank you for the advice . It's not for a 24h/24h ftp service but for precise laps of time. I know using an emulator will drop performances. Win98SE when you are not using or installing massive and numerous softwares runs fine and long enough for my purpose. VMWare can handle real partitions and the server files are and have always been on Fat32 partition.

Can someone just tell me the iptables commands ? Look my first answer in the thread.

In time i will learn to use one console ftp service or find a way to get CrushFTP install, but not now. I still have my internal modem not installed (modules - gcc problem it seems) and Xtel is still not working at the moment. My hands are full and my brain near the implosion point.

Thanks in advance.
 
Old 04-29-2003, 09:02 PM   #7
Dek
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat 8.0 - Kernel 2.4.20-8
Posts: 28

Original Poster
Rep: Reputation: 15
Well, i still need to know how to forward within NAT packets comming from internet to a computer in my local LAN (let say port 2500 on 192.168.1.50 aka eth1, with ppp0 as dynamic internet connection).

Any good soul ?

I will need it even though i've set up a basic ftp service (pure-ftpd) on my linux box (which is the gateway of my LAN).

Thanks in advance !

Dek
 
  


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
Source Code for a simple ftp server and client koodoo Programming 17 07-05-2013 11:48 AM
assist setup ftp server/client rm.linux Linux - Software 0 01-27-2005 06:58 PM
Best FTP Server and Client? Cyberian Linux - Software 3 11-11-2004 02:30 AM
Can't FTP from Linux client to Windows 98 server. Dapper Dan Linux - Networking 3 11-27-2003 06:14 PM
ipchains, ftp from client to non-ftp ports atari303 Linux - Networking 2 11-08-2002 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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