Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > Can't FTP through router/firewall (DI-624)

Can't FTP through router/firewall (DI-624)
Thread Tools
epimetheus
Fresh-Faced Recruit
Join Date: May 2001
Location: Scottsdale, AZ
Status: Offline
Reply With Quote
Feb 12, 2006, 02:31 PM
 
All,

Since installing a wireless router (D-Link DI-624) I can no longer FTP into my remote web server.

My setup:

I live in the sticks, so I have a wireless internet provider (Motorola Canopy antenna, IIRC). Originally, I had the cable coming straight from the wireless antenna into the ethernet port on my G5 and was assigned a dynamic IP. With that config, I could FTP into my web server, work server, etc.

For various reasons, I needed a static IP, so I bought the wireless DI-624. The Motorola canopy now goes straight to the router, and my G5 connects via airport. Works fine for my G5, Xbox 360 and Powerbook, with the only problem being that I can no longer FTP into any server I try to connect to.

I think it may be a PASV issue, or I may need to do port forwarding or something with ports 20/21, but I know almost nothing about routers/firewalls (as you can tell).

I've tried configuring my router to allow FTP connections but I've had no luck (admittedly, I'm almost positive I haven't configured it properly).

Also, OS X's internal firewall is not on, so I don't think OS X is blocking it.

I'm running 10.4.4, and have tried the newest versions of both Fetch and Transmit.

Thanks for any suggestions!
     
John Strung
Senior User
Join Date: Aug 2000
Location: Ancaster, Ontario, Canada
Status: Offline
Reply With Quote
Feb 12, 2006, 04:49 PM
 
You have to set the Mac you want to use as a FTP server to a fixed local IP address. Set the Airport TCP/IP prefs in the G4 as follows:

Connect Manully
IP address = 192.168.0.20
Gateway or router = 192.168.0.1
Subnet Mask = 255.255.255.0
Domain Name Server = 192.168.0.1

Then go to the DLink setup utility at http://192.168.0.1 and go to the Advanced Tab.
Set Virtual Server ENABLED
Private IP = 192.168.0.20
Protocol Type: TCP
Private Port = 21
Public Port = 21
Hit APPLY

Then go to http://www.whatismyip.com

This will tell you the public IP of your router. From outside your LAN, i.e. from the internet, FTP to the public IP address of your router and the Virtual Server function of the router will forward your FTP request to the Mac at 192.168.0.20
     
epimetheus  (op)
Fresh-Faced Recruit
Join Date: May 2001
Location: Scottsdale, AZ
Status: Offline
Reply With Quote
Feb 12, 2006, 05:44 PM
 
Originally Posted by John Strung
You have to set the Mac you want to use as a FTP server to a fixed local IP address. Set the Airport TCP/IP prefs in the G4 as follows:

Connect Manully
IP address = 192.168.0.20
Gateway or router = 192.168.0.1
Subnet Mask = 255.255.255.0
Domain Name Server = 192.168.0.1

Then go to the DLink setup utility at http://192.168.0.1 and go to the Advanced Tab.
Set Virtual Server ENABLED
Private IP = 192.168.0.20
Protocol Type: TCP
Private Port = 21
Public Port = 21
Hit APPLY

Then go to http://www.whatismyip.com

This will tell you the public IP of your router. From outside your LAN, i.e. from the internet, FTP to the public IP address of your router and the Virtual Server function of the router will forward your FTP request to the Mac at 192.168.0.20
John,

Correct me if I'm wrong, but this seems to be what I need to do if I wanted to FTP *into* my G5.

I'm trying to connect/ftp to a remote server, ie, my isp. In other words, since the router/firewall was installed, I'm unable to update/add pages to my website at my remote hosted server.
     
John Strung
Senior User
Join Date: Aug 2000
Location: Ancaster, Ontario, Canada
Status: Offline
Reply With Quote
Feb 12, 2006, 07:17 PM
 
[Sorry, I misunderstood. To FTP to your ISP set your FTP client to Passive Mode (PASV).


If you haven't tried it already, try RBrowser: http://www.rbrowser.com/download.html which is free for the basic version.
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 11:09 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,