LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2004, 07:24 PM   #1
AtomicBanana
LQ Newbie
 
Registered: Jun 2004
Posts: 8

Rep: Reputation: 0
Completly lost with iptables when trying to configure it for FTP - Help!


I've been attacking this all afternoon and just not got anywhere. I was following an FTP Server guide and all was going well until I was asked to do this:

echo "1">/proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -I forward -s 192.168.1.2 -j MASQ

insmod ip_masq_autofw
ipmasqadm autofw -A -r tcp 20 21 -h 192.168.1.2

ipmasqadm autofw -A -r tcp 60000 65535 -h 192.168.1.2

This is from Proftpd: A User's Guide - Chapter 12. Configuration for NAT.

This is outdated (from my understandings) and has been replaced by iptables... I've looked all over for info about this and all the things I find way to indepth and more confusing than helpful. All I'm looking for is a translation of those commands to the newer iptables program.

Then hopefully my FTP server will be accessible from outside my home network!

Can anyone help?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
lost configure my computer Icon? kitek Mandriva 8 07-24-2005 09:23 AM
How to configure Lost+Found? AnnJS Linux - Newbie 4 06-15-2005 02:30 AM
what do i do after ./configure, im lost kromatic Linux - Software 8 05-29-2004 08:39 PM
ftp and ftp port forwarding with IPtables?? FunkFlex Linux - Security 3 04-24-2002 03:03 AM
Lost in IPTables karunesh Linux - Security 1 02-20-2002 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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