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 05-23-2003, 09:30 AM   #1
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Rep: Reputation: 30
A Different Method


I've attempted everyway from sideways to get Samba to share info to a windows 98 machine. I've given up.

Is there anyway to setup a functional FTP service from my Linux box to win98 box on a home network basis (192.168.0.* type addresses).
 
Old 05-23-2003, 09:37 AM   #2
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
you could setup the server as normal, and put entries in hosts.allow and hosts.deny, i never use those files so i dont know without looking it up how to edit them but the syntax is terribly simple. You could also add some iptables rules to block access to the ftp port from any address that's not a 192.168 address, now that i do know:

iptables -A input -s ! 192.168.0.0/24 -p tcp -dport 23 -j DROP

i get all the ports in the 20's mixed up so im not sure if 23 is telnet or ftp, but make sure you sub in the ftp port, i do know that ssh is 22 though, but i never fool with ftp or telnet so im not sure...i just picked one.
 
Old 05-23-2003, 05:37 PM   #3
xcon
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181

Rep: Reputation: 30
ftp is port 21 and another for the actual transfer connection, which changes... just specify the listening IP and/or port in the cfg, proftpd lets you do that
 
  


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
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
The method for loading from CD Metablade Linux - Newbie 11 10-12-2005 02:59 PM
installation method majeztik *BSD 1 11-04-2004 11:49 PM
C++ newton method help harrylee2003 Programming 6 11-03-2004 04:37 PM
Best Method for searching buddy Linux - General 12 01-07-2003 06:01 AM

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

All times are GMT -5. The time now is 06:40 PM.

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