Troubleshooting AzureusNAT settings under UbuntuLinux

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.