Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-09-2007, 01:56 AM   #1 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Post port forwarding in linux


how do i do port forwarding since in Linux OS usually all ports r blocked like prakash said.

so how do i open all the ports in d distro, and get my azureus work with my port number bein forwarded.

my external ip/wan ip keeps changing.
and i'm using pppoe, like i keep the modem on and in 2 minutes i'm connected to net.
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra
vish786 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 07-09-2007, 02:04 AM   #2 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: port forwarding in linux

port forwarding in Linux is achieved if u open a random port allowed using iptables FW scripts.just use Azureus NAT checking tool and enter the port no u opened.now if it says OK!then fine done.if u use ppp dialer from the router instead of bridge mode where we dial up pon dsl-provider" and poff to switch off,there may be something u need to configure with ur modem.like Virtual server enabled.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 07-09-2007, 02:27 AM   #3 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Post Re: port forwarding in linux

Quote:
Originally Posted by praka123
port forwarding in Linux is achieved if u open a random port allowed using iptables FW scripts.
where can i find FW scripts ?
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra
vish786 is offline  
Old 07-09-2007, 03:04 AM   #4 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: port forwarding in linux

rather than writing ur own iptables rulese,try "lokkit" from apt or synaptic or firestarter if ur a gui user.then inspect the gui of firestarter or whatever gui there will be provision for leave open a port or in case of lokkit-open a terminal run "sudo lokkit" and enter the port to be opened(ncurses based).
always use a port btwn 45xxx to 65xxx range.remove default 6881 in Azureus and enter the new open port.
now check NAT test in tools menu,if it passed everything will be OK.NAT will show a green signal with torrents.remember i use bridge mode with OS dialer.

also Let other Linux torrent users comments.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 07-09-2007, 07:19 AM   #5 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: port forwarding in linux

Get the simple Firestarter and add this entry as shown:



To install Firestarter, do the usual drill:
Code:
sudo apt-get install firestarter
Note: To make that rule in 'Inbound Traffic Policy', you need to click the 'Add Rule' button, then give something as the name, and a range or single number as the port and make it applicable for 'Anyone'. Finally click 'Apply Rule' and you're done. The added ports will be opened now.

I'd rather use uTorrent with WINE (They themselves make sure its coded properly for that) and get higher speeds at low CPU cost.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 07-09-2007, 09:41 AM   #6 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: port forwarding in linux

^wt do u mean utorrent?i am getting solid 200+ KB/s on Azureus on Linux.even transmission can be used.if l/w client which u meant.just make sure ur firewall opened the port.am now researching on below link for any better.
http://wiki.suselinuxsupport.de/wikk...rentOnAhomeLan
http://www.portforward.com/english/r...v2/Azureus.htm
http://www.portforward.com/networking/static-xp.htm
^for those using ppp dialer inbuilt on router rather than in bridge mode.

bridge mode config is explained here:
people using Broadband in Feisty Fawn....

http://www.canyouseeme.org/
^check whether ur reached!(ports opened?)
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 07-09-2007 at 10:09 AM.
praka123 is offline  
Old 07-09-2007, 10:26 AM   #7 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: port forwarding in linux

Maybe it's just your router that needs to forward ports.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 07-09-2007, 11:58 AM   #8 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: port forwarding in linux

Well, I get a max of 15KBps on Azureus and Deluge while I get full 30KBs for the same torrent on uTorrent at very less memory cost (Incl. Wineserver and Explorer)
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 07-09-2007, 12:16 PM   #9 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: port forwarding in linux

even i need configure azureus, but too lasy to try new settings

@prakash
give you settings you use
gary4gar is offline  
Old 07-09-2007, 01:07 PM   #10 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Post Re: port forwarding in linux

Quote:
Originally Posted by mehulved
Maybe it's just your router that needs to forward ports.
in router all the ports r open.
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra
vish786 is offline  
Old 07-09-2007, 01:14 PM   #11 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: port forwarding in linux

Oh just open the firewalled ports via man iptables or firestarter/lokkit and it'd be ok, your NAT will go green.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 07-09-2007, 01:42 PM   #12 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Post Re: port forwarding in linux

if anyone wants to check the ports open the torrent client & copy the ports and check on this site, http://www.canyouseeme.org/

if port is forwarded, it gives " success message".

for manually checkin port.
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra
vish786 is offline  
Old 07-09-2007, 03:02 PM   #13 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: port forwarding in linux

This too

http://www.utorrent.com/testport.php?port=xxxxx

Relace X by the port you wanna test
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 07-09-2007, 03:13 PM   #14 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: port forwarding in linux

I think what is explained in http://portforward.com is mostly usable for Linux users too.I am saying about ppl who use ppp(modem inbuilt dialer) mode in OS.
they seems to enable virtual server option with local eth0 address forwarded.reading that may help.though i am happy with bridge mode connxn.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 07-09-2007, 03:27 PM   #15 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: port forwarding in linux

Heh aren't we going on and on and on?

Hey vish786, did your problem get solved or not?! Cause you're giving advices to your own thread
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 07-09-2007, 03:31 PM   #16 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: port forwarding in linux

ok then.one question @vish: do u dial from ubuntu to get connected to dataone? or do u remember configuring userid passwd etc in router(ppp mode).tell which mode do u use?
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 08-09-2007, 08:03 PM   #17 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Post Re: port forwarding in linux

sorry for late replies was trying out something.
Quote:
Originally Posted by praka123
I think what is explained in http://portforward.com is mostly usable for Linux users too.I am saying about ppl who use ppp(modem inbuilt dialer) mode in OS.
they seems to enable virtual server option with local eth0 address forwarded.reading that may help.though i am happy with bridge mode connxn.
that guide is applied to any OS, theirs nothing related to OS, but configuring router which can be done using any browser.

Quote:
Originally Posted by QwertyManiac
Heh aren't we going on and on and on?

Hey vish786, did your problem get solved or not?! Cause you're giving advices to your own thread
, actually i was trying out different things which fetches me best speed without any error, reg givin advices... thought this might help others also.

Quote:
Originally Posted by praka123
ok then.one question @vish: do u dial from ubuntu to get connected to dataone? or do u remember configuring userid passwd etc in router(ppp mode).tell which mode do u use?
no i dont dial, just switch on router and i'm connected.
yes i reconfigured/reset my modem again, coz while trying port forwarding i messed up my routers configs.

i used PPPoE settings.

installed both lokkit and firestarter, after unblockin a specific port in lokkit,
tried d port on azureus, but port got forwarded after 1-2 minutes with download speed of 13-14kBps(which is slow, usually i get 18/21 kBps speed on windows in utorrent/bitcomet.)
after closing azureus, i tried the same port on utorrent while running in wine, but this time port wasnt forwarded, dont know wats d error.

will try deluge (utorrent for linux) and inform.

@qwertymaniac,

how do i add utorrent/azureus in firestarter, both r not mentioned in add rule drop down menu.
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra

Last edited by vish786; 08-09-2007 at 09:24 PM.
vish786 is offline  
Old 08-09-2007, 09:03 PM   #18 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: port forwarding in linux

Oh just make a new name man. Its based on Port numbers not application name. So enter what ever port name and give it any name and it'll be added.

Clearly, fill it like this:



And Deluge is uTorrent for Linux? Lol! Use the real uTorrent with Wine, they themselves say it works fine with Wine (And it does, in reality)

And do wait for a while between trying out clients, also disable UPnP to avoid router port conflicts.
__________________
Harsh J
www.harshj.com

Last edited by QwertyManiac; 08-09-2007 at 09:15 PM.
QwertyManiac is offline  
Old 08-09-2007, 09:20 PM   #19 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: port forwarding in linux

Read a bit about iptables before using any firewall software. No need to learn it just understand how it works. Many things will become easy then.
__________________
http://www.bash.org/?258908
mehulved is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with port forwarding.. madhangc Hardware Q&A 6 26-02-2010 07:37 PM
port forwarding napster007 Software Q&A 2 01-03-2008 12:31 AM
Port Forwarding thrash_metal Software Q&A 1 03-08-2007 09:04 AM
Port Forwarding.. shyamno Hardware Q&A 3 26-01-2007 10:16 PM
Port forwarding bharat_r QnA (read only) 6 10-07-2005 02:01 AM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2