aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: I think I'm just a bit away from making an ed2k server  (Read 16216 times)

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #15 on: July 11, 2016, 12:01:56 PM »

Well lets start from the top since I don't fully remember so little background. Now aMule is deployed on which platform? are you using full aMule or just daemon? Are the ports fully open on the machine and gateway (modem/router)?
Logged

FlyHigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: I think I'm just a bit away from making an ed2k server
« Reply #16 on: July 12, 2016, 06:18:18 PM »

My laptop is working with Fedora 23. I remembere I installed aMule from default repository using dnf. I feel like it's full version. Otherwise, how to differ? ;D

Now I gotta try to open specific ports in router. For modern, I'm afraid that I'm less than able to set up, cos its interface seems so professional. :-[

P.S.:
As I set to manage the setting in the router, I surprisely found that in UPnP setting, those three ports are being open automaticly for aMule using. Is that the way we gonna get it on?
« Last Edit: July 12, 2016, 06:26:33 PM by FlyHigh »
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #17 on: July 14, 2016, 03:51:52 PM »

So is it fully working? I wouldn't trust UPnP as its good as the firmware and you don't know how old it is if its very old switch/gateway. I highly recommend you take the time and setup full cone NAT/PAT and assign it to static LAN. Then check your config and make sure ports are fully open on the machine. You have already setup correct ports on the machine now just do it on the router/modem. If you need help we can start from top to bottom that way all will be taken care of as everything will have full passthrough.
Logged

FlyHigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: I think I'm just a bit away from making an ed2k server
« Reply #18 on: July 15, 2016, 10:45:20 AM »

I've read your last post and understand clearly. I'd leave UPnP utility aside as you recommend.

The most highly related feature I found in my router I would say is ' Virtual Server'. The router help manual explains that it used to be set up for internal servers being accessed by the rest of the network beyond the router. My question is that can I suppose  my aMule is a kind of internal server planted in my system? And what kind of internal server is it? For setting purpose, server type is needed to be selected, including DNS, FTP, HTTP etc.

Thank you for your help.
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #19 on: July 15, 2016, 12:09:53 PM »

Well the first step would be to make sure the PC is always given static LAN-IP by DHCP server running on gateway (modem/router). The point of that is to have static route for packets to be sent/received to single specified address which will be always same. Then you need to define the service port which would be normally name and port ranges. The last thing would be to enable the service and assign it to the same static LAN-IP.

What is the model number for your gateway? I can look up the web interface and tell you howto correctly setup PAT/NAT as majority of units now have IDS/SPI built in firewall which filters and by default blocks incoming connections while allowing outgoing.
Logged

FlyHigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: I think I'm just a bit away from making an ed2k server
« Reply #20 on: July 15, 2016, 04:03:13 PM »

My device is designed and sold in China, I'd love to tell you it's Mercury MW300R. Though I'm much afraid that you could not able to find the multi language interface of that model.

I gave a try to settup service ports as I've assigned my machined to a static IP address distrubuted from DHCP server. Strangely it's told port 4662 conflicts with other ports, but never tells what ports. I have no idea what that means.

P.S.(once again): I've located the problem. After I turned off UPnP service, I'm able to add service ports in virtual server section.
« Last Edit: July 15, 2016, 04:14:22 PM by FlyHigh »
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #21 on: July 15, 2016, 05:03:24 PM »

Did you open all 3 service ports required?

TCP port 4662 is used for client to client transfer. (This is needed to obtain HighID on ED2K)
UDP port 4665 is used for global server queries.
UDP port 4672 is used for KAD and extended ED2K quires. (This is needed to obtain Ok status on KAD along side TCP 4662)

Depending on how the device handles session timeout it will release used ports unless already defined. Which shouldn’t be problem if anything you can post me the screenshots. So add 3 new service with the ports defined and listed on top and then bind it to the static LAN-IP of the PC where aMule is deployed. Which should now have ports open since you enabled IPTables and opened them. If you still have problem post back we will change the ports just incase your ISP is blocking them since well known service ports.
Logged

FlyHigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: I think I'm just a bit away from making an ed2k server
« Reply #22 on: July 15, 2016, 05:32:11 PM »

How do I paste image on the forum? Does the forum have a paste bin? :-[

New founding: After I added three specifi ports in virtual server along UPnP service yet being turn off, aMule can't access UDP service. And global queries disable. So I decided to delete the contents associated with UDP ports. Surprisely to me, warnings to open UDP ports disappear and global queries resume normal. To conclude, I'd like to say that setting up in virtual server doesn't make any sense, otherwise it's drawback to aMule's running. Is it the same way to the TCP port? If so, configuring virtual server is unnecissary. The problem must be in other ways. Let me guess, is it blocked by ISP as you supposed in your last post?
« Last Edit: July 15, 2016, 05:52:11 PM by FlyHigh »
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #23 on: July 15, 2016, 05:47:58 PM »

When you post look at the bottom you will see attachment, just browse to the image file or you can upload it to image hosting site.
Logged

FlyHigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: I think I'm just a bit away from making an ed2k server
« Reply #24 on: July 15, 2016, 05:57:38 PM »

Thank you for your help, again and again.

I think it's not necessary to upload image to be reviewed right now. Have you ever read my last modified(usually, ;)) post?
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #25 on: July 15, 2016, 05:59:25 PM »

Is there any details regarding the functionality of 'virtual server'. Normally you would see port forwarding section and all you have to do is define it by name (ex: amule) and select the type of protocol (ex: tcp) and port (ex: 4662). Once the rule is defined then you enable that service and forward it to a selected PC which would have its own LAN-IP. Far as ISP blocking goes that we can rule out after you went ahead and did everything and opened the ports. I want you to take screenshots of your menu hopefully its English.
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #26 on: July 15, 2016, 06:17:54 PM »

I provided you screenshots from my own end so you can better see and understand how ports scheme are setup. As each device connected has to have it set for it to be fully functional before it even reaches the machine. As you can see from my modem/switch/router.
Logged

FlyHigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: I think I'm just a bit away from making an ed2k server
« Reply #27 on: July 15, 2016, 06:40:02 PM »

Comparing my router screenshot with your modem's, besides the language factor, are they highly likely? At least I think so. The most obvious ever difference is the service name area in my router is unable to be named.
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 81
  • You don't know enough to know that you don't know.
Re: I think I'm just a bit away from making an ed2k server
« Reply #28 on: July 15, 2016, 08:04:47 PM »

Well that seems to be similar section. Now the PC thats using aMule make sure its IP is 192.168.10.103 for now try connecting to ED2K network. Also can you do 'netstat -ntap' and paste me the output here from your command terminal so I can see if ports are open.
Logged

FlyHigh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: I think I'm just a bit away from making an ed2k server
« Reply #29 on: July 16, 2016, 10:03:14 AM »

Below is the output copy of command:

netstat -ntap
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:50000           0.0.0.0:*               LISTEN      3488/amule         
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:4662            0.0.0.0:*               LISTEN      3488/amule         
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                   
tcp        0      0 192.168.10.102:59406    83.47.229.139:38787     ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:42072    54.213.112.246:443      TIME_WAIT   -                   
tcp        1      1 192.168.10.102:37970    93.156.34.190:85        LAST_ACK    -                   
tcp        0      0 192.168.10.102:56858    5.224.24.217:34341      ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:39496    54.182.5.52:443         ESTABLISHED 3556/firefox       
tcp        0      1 192.168.10.102:49620    199.30.80.32:80         SYN_SENT    3556/firefox       
tcp        0      0 192.168.10.102:58414    87.14.201.108:4665      ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:40892    36.237.120.247:12345    ESTABLISHED 3488/amule         
tcp        0      1 192.168.10.102:46964    74.125.23.113:443       SYN_SENT    2062/chrome         
tcp        0      0 192.168.10.102:50054    95.62.85.91:4662        ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:52546    193.153.166.112:12047   ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:40564    90.127.44.35:37215      TIME_WAIT   -                   
tcp        1      1 192.168.10.102:59944    178.113.106.249:49152   LAST_ACK    -                   
tcp        0      0 192.168.10.102:60408    54.148.104.15:443       ESTABLISHED 3556/firefox       
tcp        0      0 192.168.10.102:41358    46.27.150.106:61473     ESTABLISHED 3488/amule         
tcp        0    226 192.168.10.102:45172    61.70.212.209:4662      ESTABLISHED 3488/amule         
tcp        0      1 192.168.10.102:49262    46.82.174.68:443        SYN_SENT    2062/chrome         
tcp        0      1 192.168.10.102:45454    216.34.181.96:80        LAST_ACK    -                   
tcp        0      1 192.168.10.102:49624    199.30.80.32:80         SYN_SENT    3556/firefox       
tcp        0      0 192.168.10.102:38982    104.16.54.15:443        ESTABLISHED 2062/chrome         
tcp        0      0 192.168.10.102:40836    83.61.161.155:51261     ESTABLISHED 3488/amule         
tcp        0     32 192.168.10.102:44682    140.211.169.206:443     LAST_ACK    -                   
tcp        0      0 192.168.10.102:48750    80.249.163.1:80         TIME_WAIT   -                   
tcp        0      0 192.168.10.102:48756    80.249.163.1:80         TIME_WAIT   -                   
tcp        0      0 192.168.10.102:55088    114.42.108.68:30778     TIME_WAIT   -                   
tcp        0      1 192.168.10.102:48760    80.249.163.1:80         FIN_WAIT1   -                   
tcp        0      0 192.168.10.102:48754    80.249.163.1:80         TIME_WAIT   -                   
tcp        1      1 192.168.10.102:42356    114.39.106.95:7555      LAST_ACK    -                   
tcp        0      0 192.168.10.102:44926    58.152.239.18:13270     ESTABLISHED 3488/amule         
tcp        0      1 192.168.10.102:55994    117.18.237.29:80        LAST_ACK    -                   
tcp        0      1 192.168.10.102:48554    74.125.23.102:443       SYN_SENT    2062/chrome         
tcp        0      1 192.168.10.102:49118    46.82.174.68:443        SYN_SENT    2062/chrome         
tcp        0      0 192.168.10.102:39304    81.203.40.221:55954     ESTABLISHED 3488/amule         
tcp        0      1 192.168.10.102:48748    80.249.163.1:80         FIN_WAIT1   -                   
tcp        0      1 192.168.10.102:57722    216.58.199.110:443      SYN_SENT    3556/firefox       
tcp        0      0 192.168.10.102:40462    203.208.41.32:443       ESTABLISHED 3556/firefox       
tcp        0      1 192.168.10.102:46962    74.125.23.113:443       SYN_SENT    2062/chrome         
tcp        0      0 192.168.10.102:45166    190.247.196.237:58861   TIME_WAIT   -                   
tcp        0      0 192.168.10.102:51754    121.175.242.150:6703    TIME_WAIT   -                   
tcp        0      0 192.168.10.102:48752    80.249.163.1:80         TIME_WAIT   -                   
tcp        0      0 192.168.10.102:43304    119.32.64.217:7551      TIME_WAIT   -                   
tcp        0      0 192.168.10.102:52326    5.153.240.89:4662       ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:52618    203.208.40.143:443      ESTABLISHED 2062/chrome         
tcp        0      0 192.168.10.102:52798    82.238.199.129:12887    ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:35464    93.150.166.73:7036      ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:60404    54.148.104.15:443       ESTABLISHED 3556/firefox       
tcp        0      0 192.168.10.102:47930    91.200.42.46:1176       ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:52812    63.243.244.17:80        ESTABLISHED 3556/firefox       
tcp        1      1 192.168.10.102:50278    113.12.83.5:80          LAST_ACK    -                   
tcp        0      0 192.168.10.102:44588    88.21.105.104:85        TIME_WAIT   -                   
tcp        0      1 192.168.10.102:57720    216.58.199.110:443      SYN_SENT    3556/firefox       
tcp        0      0 192.168.10.102:52104    67.5.168.118:52966      ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:51818    192.168.10.1:1900       TIME_WAIT   -                   
tcp        0      1 192.168.10.102:36276    216.58.197.109:443      SYN_SENT    2062/chrome         
tcp        0      0 192.168.10.102:36884    114.32.109.10:61587     TIME_WAIT   -                   
tcp        0      1 192.168.10.102:48098    36.235.35.115:24011     FIN_WAIT1   -                   
tcp        0      0 192.168.10.102:56706    218.5.235.178:64205     TIME_WAIT   -                   
tcp        0      0 192.168.10.102:48758    80.249.163.1:80         TIME_WAIT   -                   
tcp        0      0 192.168.10.102:59470    209.132.181.28:443      ESTABLISHED 3369/reporter-urepo
tcp        0      0 192.168.10.102:54846    126.22.36.249:3338      FIN_WAIT2   -                   
tcp        0      0 192.168.10.102:45930    188.172.202.24:443      ESTABLISHED 3556/firefox       
tcp        0      0 192.168.10.102:60406    54.148.104.15:443       ESTABLISHED 3556/firefox       
tcp        0      0 192.168.10.102:37808    64.233.188.188:443      ESTABLISHED 2062/chrome         
tcp        0      0 192.168.10.102:48754    82.52.48.61:16393       ESTABLISHED 3488/amule         
tcp        0      1 192.168.10.102:54308    121.143.233.143:38805   FIN_WAIT1   -                   
tcp        1      1 192.168.10.102:34894    78.220.48.36:24771      LAST_ACK    -                   
tcp        0      1 192.168.10.102:36278    216.58.197.109:443      SYN_SENT    2062/chrome         
tcp        0      0 192.168.10.102:40308    203.208.41.56:443       ESTABLISHED 3556/firefox       
tcp        0      0 192.168.10.102:35058    95.89.252.247:50000     TIME_WAIT   -                   
tcp        0      0 192.168.10.102:52750    83.57.19.174:4661       ESTABLISHED 3488/amule         
tcp        0      0 192.168.10.102:48714    80.249.163.1:80         ESTABLISHED 3556/firefox       
tcp        0     32 192.168.10.102:44738    140.211.169.206:443     LAST_ACK    -                   
tcp        0      0 192.168.10.102:33446    140.205.153.54:443      ESTABLISHED 2062/chrome         
tcp        0      0 192.168.10.102:54292    5.2.166.185:28928       ESTABLISHED 3488/amule         
tcp6       0      0 :::3306                 :::*                    LISTEN      -                   
tcp6       0      0 :::50000                :::*                    LISTEN      3488/amule         
tcp6       0      0 ::1:631                 :::*                    LISTEN      -

By the way, my machine got some wrong with static IP address, so I changed it to dynamic for successful wi-fi connection.
Logged
Pages: 1 [2] 3