|
|
Can't FTP through router/firewall (DI-624)
|
|
|
|
Fresh-Faced Recruit
Join Date: May 2001
Location: Scottsdale, AZ
Status:
Offline
|
|
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!
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Aug 2000
Location: Ancaster, Ontario, Canada
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: May 2001
Location: Scottsdale, AZ
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Aug 2000
Location: Ancaster, Ontario, Canada
Status:
Offline
|
|
[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 Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|