LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-16-2004, 01:14 PM   #1
jac0b
LQ Newbie
 
Registered: Feb 2004
Location: Edgewater, FL
Posts: 22

Rep: Reputation: 15
Question Ipchains question


i am needing to open my FTP ports to access my website to upload new content but my box won't let me out and i also need to open the ports used for remote connection in windose XP...

basiclly i need some help with the Ipchains commands i need to open ports 20,21 to ftp

running mandrake 8.2 with internet connection sharing


thanks

 
Old 02-16-2004, 03:29 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I am sure you'll be using iptables with Mandy 8.2... correct me if it's wrong tho'...

At the beginning of your FORWARD & INPUT chains, a 'state' rule should ACCEPT all RELATED/ESTABLISHED traffic back in; and you should have the ip_conntrack_ftp and ip_nat_ftp modules loaded to assist, usu manually.

do iptables-save to get a currently active rule listing on the screen, and look for
-A FORWARD -i eth~ -m state --state RELATED/ESTABLISHED -j ACCEPT
somewhere in the first 1 or 2 rules. The eth~ should be the external interface. (in FORWARD and/or INPUT)

Also do lsmod and look for the two ftp modules..
To get them in, needs the Security/firewall manager and the /etc/init.d scripts.
The init.d script for iptables will have a reference to MODULES=
Both the ftp modules need to be found by that reference...

The Remote Desktop/Terminal server port is 3389
 
Old 02-16-2004, 03:31 PM   #3
jac0b
LQ Newbie
 
Registered: Feb 2004
Location: Edgewater, FL
Posts: 22

Original Poster
Rep: Reputation: 15
what is mandrake 8.2 using (firewall/security)?
 
Old 02-16-2004, 05:40 PM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I don't use it myself, but there is a gui based Control Centre which has firewall options...
 
  


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
Iptable and ipchains question itebooks Linux - Software 9 04-07-2004 12:26 AM
question about ipchains wedgeworth Linux - Software 4 12-31-2003 10:34 AM
ipchains question(s) wushumasterku Linux - General 4 08-22-2002 08:57 AM
question about ipchains wushumasterku Linux - Networking 2 08-21-2002 01:07 PM
Ipchains question jrmann1999 Linux - Networking 1 02-08-2001 02:02 PM

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

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