Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-21-2004, 04:55 PM
|
#1
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Rep:
|
Port forwarding simply won't work..
I've tried everything, several times...and port forwarding just won't work. Is it possible that this is a network card problem? I've run out of ideas.
Thanks
-RoaCh
|
|
|
12-21-2004, 05:01 PM
|
#2
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
Not if you get traffic at all...
What have you tried, exactly?
|
|
|
12-21-2004, 05:52 PM
|
#3
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
Here is my ifconfig output:
Quote:
root@darkrealm:/home/roach/Programs/webmin-1.170# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:A8:87:0D:7A
inet addr:192.168.1.47 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2214 errors:0 dropped:0 overruns:0 frame:0
TX packets:1871 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2444691 (2.3 Mb) TX bytes:229562 (224.1 Kb)
Interrupt:18 Base address:0x2800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1165 (1.1 Kb) TX bytes:1165 (1.1 Kb)
|
Firstly, I'll say that I'm not too experienced with networking, but I think I understand the just of it.
Say I want to forward port 21 to my internal ip
I goto 192.168.1.1 and then goto port forwarding.
I forward port 21 to 192.168.1.47 (which I think is correct?)
Still...no go. I've tried forwarding ports for azureus as well *bit torrent client*...but no affect.
I've also tried creating a static ip, and forwarding ports to that...but still, nothing.
I was starting to think that maybe it was my DSL provider's problem...Qwest DSL...but we recently moved so we switched to Verizon DSL. Still...same problem. The modem I am currently using is a Westell VersaLink Model 327W. It's a router/gateway type thing, so it can connect up to 4 computers to it. Forwarding ports doesn't work in Linux.or Windows. So either I'm doing something wrong all along or there's something else wrong :S.
As of now I'm totally confused.
Last edited by RoaCh Of DisCor; 12-21-2004 at 05:53 PM.
|
|
|
12-21-2004, 08:28 PM
|
#4
|
Member
Registered: Jul 2004
Distribution: Slackware 10.0
Posts: 57
Rep:
|
I hope I understand your problem correctly =\
Port Forwarding is used for *incoming* connections (like ssh, ftp, apache, etc.), which helps your 'puter act as a server if it's behind a router. But in the case of bit-torrent clients, limewire, etc., port forwarding shouldn't be necessary since the application establishes and maintains connections on its own.
But configuring your router to port forward isn't enough to make it work. You'll have to open the respective ports on your home box as well, which allows it to listen for traffic on those ports and take action when necessary. For example, FTP uses port 21; you'll need to modify the appropriate ftp files (depending on which app you're using for it, like proftp, etc) to activate the service. Use google to find howto docs if you don't know which files are which.
Or just ignore my advice if I misunderstood your problem 
|
|
|
12-21-2004, 10:19 PM
|
#5
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
I'll try that..thanks...I'm not even certain of my problem...lol.
One of my problems is i've been trying to run an ftp server...but it uses my computer's ip number (192.168.1.47 or whatever)...not the public one. SO I Guess I have to have ports forwarded to that Ip number. I've tried several times and it just doesn't seem to do anything.
Also as said above..bit torrent clients. They work...but slowly. It never fully connects...as it says that it needs port 6881 open. When running azereus I get several errors that it can't connect to this port. I believe it's open...but it needs to be forwarded...or so I've been told.
Anyway, I'll do more experimenting...thanks.
-RoaCh
|
|
|
12-21-2004, 10:37 PM
|
#6
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
Ohhhhhh! I was messing with port forwarding and got azureus working properly!
What ports do I need to open for someone to be able to connect to my FTP server?
I know 21...but that isn't working. Is there others?
|
|
|
12-22-2004, 07:20 AM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
Port 20 for FTP data
|
|
|
12-22-2004, 11:13 AM
|
#8
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
Unless the server is trying to talk passive to the clients, in which case it's probably handing back it's internal IP (192.168.1.47) which the client will almost certainly fail to connect to.
|
|
|
12-22-2004, 05:30 PM
|
#9
|
Member
Registered: Jul 2004
Distribution: openSUSE 10.2
Posts: 141
Rep:
|
Make sure you also set up a static ip on your computer and disable the DHCP server on your router.
And also most p2p software need port forwarding because they can't negotiate with your router. I had to open port 6346.
|
|
|
12-23-2004, 05:07 PM
|
#10
|
Member
Registered: Jul 2004
Distribution: Slackware 10.0
Posts: 57
Rep:
|
Quote:
Originally posted by RoaCh Of DisCor
Ohhhhhh! I was messing with port forwarding and got azureus working properly!
What ports do I need to open for someone to be able to connect to my FTP server?
I know 21...but that isn't working. Is there others?
|
You'll need to open port 21 on your box. Like I said before, read through the ftp howtos to configure your server. Once you're finished configuring everything, restart the inet1 service. Then you should be in business.
|
|
|
All times are GMT -5. The time now is 01:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|