Set IPv6 under ubuntu12.04

Source: Internet
Author: User
Tags sendmsg

This blog post describes how to set up IPv6 in ubuntu12.04. 

1. Install miredo.

$ Sudo apt-get install miredo

2. Modify the IPv6 settings of the firewall

Open the ufw configuration file with the root permission: "/etc/default/ufw", find the "IPV6 = no" line, and change it to "IPV6 = yes ".

Finally, disable/enable the firewall to make the change take effect:

$ Sudo ufw disable

$ Sudo ufw enable

3. Restart the network

$ Sudo invoke-rc.d networking restart

4. test whether the setting is successful.

$ Ping6 ipv6.google.com

PING ipv6.google.com (2404: 6800: 4005: c00: 93) 56 data bytes

Ping: sendmsg: Operation not permitted

Ping: sendmsg: Operation not permitted

5. Set ip6tables

$ Sudo ip6tables-L (view ip6tables Firewall Rules)

$ Sudo ip6tables-t filter-a output-j ACCEPT

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.