Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACTIVE FTP DOESN'T WORK

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Can anyone help me?
I'm using a PC(with ISDN MODEM ippp0) with RH7.2 as a router for my internal local network,but the ACTIVE FTP doesn't work for the clients.
This is the script i'm using for the sharing of the internet connession,is it wong?What is The problem??


#! /bin/sh

echo 1 >/proc/sys/net/ipv4/ip_forward
/sbin/modprobe ip_tables iptable_nat iptable_nat_ftp
/sbin/modprobe ip_conntrack ip_conntrack_ftp
/sbin/iptables -t nat -A POSTROUTING -o ippp0 -s 192.168.1.0/24 -j MASQUERADE


Thankyou very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top