nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

linux ftp problem.

This is a discussion on linux ftp problem. within the Linux software forums, part of the Linux Getting Started category; hi, i am unable to connect to outside ftp servers in my linux system. please tell solution....


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-02-2009, 02:17 PM
Junior Member
User
 
Join Date: Feb 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
varada345 is on a distinguished road
Default linux ftp problem.

hi,
i am unable to connect to outside ftp servers in my linux system.
please tell solution.
Reply With Quote
  #2 (permalink)  
Old 03-02-2009, 04:51 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,706
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Mostly firewall is blocking outgoing FTP access. You need to configure iptables to allow ftp access.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 04-02-2009, 08:01 AM
Junior Member
User
 
Join Date: Feb 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
varada345 is on a distinguished road
Default

please tell me the procedure.
Reply With Quote
  #4 (permalink)  
Old 04-02-2009, 03:49 PM
Junior Member
User
 
Join Date: Feb 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
varada345 is on a distinguished road
Default

how to configure iptables please help
Reply With Quote
  #5 (permalink)  
Old 20-02-2009, 08:06 PM
Junior Member
User
 
Join Date: Dec 2008
OS: rhel5.1
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pradeepbbl is on a distinguished road
Default

make two command run

  1. #iptables -F
  2. #service iptables save
  3. reboot -f
Reply With Quote
  #6 (permalink)  
Old 02-03-2009, 12:01 AM
Junior Member
User
 
Join Date: Mar 2009
OS: Debian
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
thesnaggle is on a distinguished road
Default

can you post a copy of your iptables
Reply With Quote
  #7 (permalink)  
Old 04-03-2009, 01:30 PM
Junior Member
User
 
Join Date: Feb 2009
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
varada345 is on a distinguished road
Default

chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
~
~
Reply With Quote
Reply

Tags
ftp , iptables , linux , linux firewall


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
windows partition mounting problem in linux as4.o ramjimh Linux software 9 24-12-2008 12:38 PM
installing antivirus in linux- problem pauler Linux software 0 26-10-2007 02:31 PM
problem with linux-2.6.12 kernel at boot time khadar Getting started tutorials 0 12-09-2007 03:38 PM
Problem in Cluster Linux sureshkrsingh Getting started tutorials 0 09-09-2007 08:47 PM
problem with accesing oracle in linux ramjimh Linux software 3 06-07-2006 12:38 PM


All times are GMT +5.5. The time now is 11:44 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38