Article title: AzureusNAT setting under UbuntuLinux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
An Azureus is installed in Linux. during The NAT Port Test, Port 15559 fails to be tested. of course, the port may not be opened. In fact, we can also switch to another port. For Azureus in Ubuntu, there are generally two possibilities. First, the program cannot run, which is not compatible with the JDK Version. Generally, the problem can be solved by updating to JDK 6. The other is about NAT configuration.
First, run the following command to authorize Azureus a Port:
Iptables-I INPUT-p tcp -- dport <your_port_number>-j ACCEPT
Iptables-I INPUT-p udp -- dport <your_port_number>-j ACCEPT
Your_port_number is the port number. you can assign any value between 49125 and 65535. Then create a file
/Etc/init. d/iptables_azureus
Write the following information:
(Sleep 220
/Sbin/iptables-I INPUT-p tcp -- dport-j ACCEPT
/Sbin/iptables-I INPUT-p udp -- dport-j ACCEPT )&
The value above is 220, which is large enough (to wait for firewall verification and configuration information, etc.). you can set a small point.
Then make the file executable and write the startup item.
Chmod + x/etc/init. d/iptables_azureus
Update-rc.d iptables_azureus start 51 S
Note that there is another point behind 51 S.
After the above settings, there will be few problems, but if your network is connected through a router, it will be different.