aMule Forum
English => Feature requests => Topic started by: ponchietto on December 11, 2004, 04:47:57 AM
-
I would really like to use port 22 instead of the standard ones. (Firewall issues... sigh).
Currently the GUI refuses you to do so... i think a warning would be more appropriate.
Thanx
Federico
-
it works.. as root (port => 80)
-
Maybe you didn't read... i said port --> 22 <--- (the one used by ssh...).
Of course must be root to use it, but i can afford that :P
Federico
-
isn't 80 enough? ;p
-
My sysadmins do allow incoming connections only on port 22 (ssh).
So i will get a lowid UNLESS i use port 22.
So no... 80 is not enough.
-
maybe this port limitation is a server or lugdunum limitation?
-
No, its only a GUI limitation:
if i start lmule, set port to 22 close it and start amule, port 22 works perfectly...
only i cannot use the preferences dialog otherwise port get resetted to 80...
-
Edit src/muuli_wdr.cpp
Change this line:
wxSpinCtrl *item33 = new wxSpinCtrl( parent, IDC_PORT, wxT("4662"), wxDefaultPosition, wxSize(100,-1), 0, 80, 65535, 4662 );
to:
wxSpinCtrl *item33 = new wxSpinCtrl( parent, IDC_PORT, wxT("4662"), wxDefaultPosition, wxSize(100,-1), 0, 22, 65535, 4662 );
and this line:
wxSpinCtrl *item36 = new wxSpinCtrl( parent, IDC_UDPPORT, wxT("4672"), wxDefaultPosition, wxSize(100,-1), 0, 1025, 65535, 4672 );
to:
wxSpinCtrl *item36 = new wxSpinCtrl( parent, IDC_UDPPORT, wxT("4672"), wxDefaultPosition, wxSize(100,-1), 0, 22, 65535, 4672 );
Obviously you have to recompile.
-
Thats a nice suggestion... thank you.
Federico
-
if there is no protocol or server limitation, will be removed _after_ rc8 release ;)
for now, Frankk's patch will work for you (you can even change it down to 0 instead of 22 only, there's no risk. the only risk is your firewall :P)
Thanks both!