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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VSFTP with redhat 9.0

Status
Not open for further replies.
Jun 11, 2003
88
US
i am still trying to set up a FTP server using redhat 9.0.

when i connect directly using the static IP address i gave it (192.x.x.x)i get a login screen and then i access it successfully.

however when i try to connect thru the internet using the IP address i got from the router (68.x.x.x) i dont get any log in screen.
instead i get the following error message

Windows cannot access this folder. Make sure you typed the file name correctly and you have permission to access this folder.

Details
A connection with the server cannot be established.
i also did the following

iptables -A FORWARD -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -A PREROUTING -t nat -p tcp -d 37.135.42.8 --dport 21 -j DNAT --to 10.0.0.5:21

iptables -A FORWARD -p tcp -d 10.0.0.5 --dport 21 -j ACCEPT

iptables -A FORWARD -p tcp -d 68.x.x.x --dport 21 -j ACCEPT

substituting my internal address with the 10.0.0.5 and my public on into
68.x.x.x

what do i need to do to resolve this issue?

david
 
Which IP address did you use to connect to internet ?
If you used 192.x.x.x to connect to internet.That should not a problem.
And Which IP address did you use for your ftp server ?

Or you got IP Address (68.x.x.x) from your router as DHCP server.Sure, you got a routing problem between 2 different networks.

 
this problem solved. now i will start a new thread with a different problem


david
 
port 20 is enabled on my router. but for some reason i wasnt able to connect from a windows xp box that is in the same network. but when my boss went to the 68.x.x.x site from home he got onto the FTP server, same for when i went to other computers on the network.

just that one computer cant get on.

but see new thread for different issue.


thread54-721250
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top