cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
463
Views
0
Helpful
1
Replies

ftp connecttion

nki
Level 1
Level 1

my 3620 cisco router has 4 interfaces in 2 modules.

I am connecting a local ftp server on on interface , and my lan is connection to other interface in the same module 1.

I get ip address on fastethernet on module 2 ( ip address dhcp )

I could`nt connect from my LAN to ftp server, and any user from internet couln`t either connect to my FTp server.

Her my config :

Current configuration : 1315 bytes

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname porto

!

logging buffered 4096 debugging

enable secret xxxx.

enable password xxxx

!

ip subnet-zero

!

!

!

!

call rsvp-sync

!

!

!

!

!

!

!

!

interface Ethernet0/0

ip address 192.168.4.1 255.255.255.0

ip nat inside

full-duplex

!

interface Ethernet0/1

ip address 192.168.3.1 255.255.255.0

ip nat inside

half-duplex

!

interface FastEthernet1/0

ip address dhcp

ip nat outside

duplex auto

speed auto

!

interface FastEthernet1/1

ip address 192.168.1.2 255.255.255.0

ip nat inside

duplex auto

--More--

ip nat inside source list 1 interface FastEthernet1/0 overload

ip nat inside source static udp 192.168.3.3 21 interface FastEthernet1/0 21

ip nat inside source static tcp 192.168.3.3 21 interface FastEthernet1/0 21

ip classless

no ip http server

!

access-list 1 permit 192.168.4.0 0.0.0.255

access-list 1 permit 192.168.3.0 0.0.0.255

access-list 1 permit 192.168.1.0 0.0.0.255

!

dial-peer cor custom

!

!

!

!

!

line con 0

exec-timeout 0 0

password 7

logging synchronous

login

line aux 0

password 7 login

line vty 0 4

exec-timeout 3000 0

password 7 login

line vty 5

login

!

end

could somebody correct my config , in order to everybody ( LAN,WAN) connect to my local ftp server.

Thanks

sig

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

Looking at the config that is posted the biggest issue that I see is the lack of routing information. I do not see any static routes, no default route, and no routing protocol. With no additional routing information the router will only know how to reach its connected subnets.

I suggest that you add either a dynamic routing protocol or add some static routes so the router will know how to reach other remote addresses.

HTH

Rick

HTH

Rick