LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-29-2007, 09:59 PM   #1
deke7777
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Questions regarding external IP & port forwarding


Hello all.
I've set up an ftp server using vsftpd and on my cable connection at home I'm able to find my IP address no problem and ftp in from anywhere. The issue is when I bring the server into work, I use one of those ip lookup websites and I can't log in using the ip that is provided. It is a DSL connection though a westell 327W router. I've set up port forwarding to the server's IP on port 21 and pasv 50000 to 60000. I try ftp'ing from the command line and am immediately denied. From what I can tell, I'm not even hitting the router. If I do a geographic search on the web for the ip address, it shows that it's 30 miles away from the actual location. I'm still pretty new to networking, but I'd appreciate any information.
I've read about DMZ, NIS, DNS, port forwarding, bridge ip, etc.. I'm lost here and could use some help.
-Derek
 
Old 05-29-2007, 11:09 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
can you ftp to and from the server from a client that is on the LAN?

-twantrd
 
Old 05-30-2007, 08:25 AM   #3
deke7777
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I am able to connect on the LAN, see my files and transfer them. I just don't know my external ip address in order to test it out (externally that is).

Last edited by deke7777; 05-30-2007 at 09:31 AM.
 
Old 05-30-2007, 01:11 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Well, your external IP should be on the router on the WAN interface. If you can't find out, then have one of your LAN machines go to page http://www.whatismyip.com/.

-twantrd
 
Old 05-31-2007, 05:01 AM   #5
deke7777
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
That is exactly what I did. I went to whatismyip.com, then I went to ip2location.com and it showed that my ip was 30 miles from my house. Does that mean anything or do you think that's normal and I'm just having issues with my router? I've used the same settings as my router at home (obviously with a different ip address).
In addition to that, I opened up telnet and ftp w/ port forwarding, temporarily disabled firewall to test things out and when I try to connect my connection is immediately refused.
-D
(btw, I'm using Verizon DSL and I've read a few things about them blocking ftp and doing other strange things. Any ideas about that?)

Last edited by deke7777; 05-31-2007 at 05:05 AM.
 
Old 05-31-2007, 04:54 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Wouldn't hurt to call Verizon and see what they do block. But, I would assume that all ports would be open if it was business class DSL. I wouldn't stress out too much about ip2location. Who knows what geo-ip database they are using. Some free ones out there update theirs monthly while paid ones update weekly. It's a matter of how often they update it and how accurate they are.

Does the firewall come with any logging capabilities. That's another thing you can check out.

-twantrd
 
Old 05-31-2007, 07:55 PM   #7
deke7777
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I called them last week and the help desk wasn't any help; go figure. They said I'd have to call the "expert help", of course at an expensive rate. I had hoped to avoid this, but I guess I don't have any other choice.
Thanks for the help though.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External port forwarding to an internal host antken Linux - Networking 3 12-17-2006 09:43 AM
SSH Port Forwarding with IPTables & DNAT MercurioBlue Linux - Networking 2 08-24-2006 11:17 PM
IPTABLES & Port Forwarding wobbit Linux - Networking 2 05-06-2005 03:28 PM
Port Forwarding & MNF apoc63 Linux - Newbie 0 01-03-2005 10:41 PM
Port Forwarding w/2 Machines & 1 Switch TastyWheat Linux - Networking 0 02-26-2004 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration