Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Anyway to bind the whole IPv6 /80 subnet to Gullo's NAT VPS?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Anyway to bind the whole IPv6 /80 subnet to Gullo's NAT VPS?

Comments

  • translate from https://zu1k.com/posts/tutorials/http-proxy-ipv6-pool/

    In my experiments, the subnet I got was 2001:19f0:6001:48e4::/64, which is the basis for everything below.
    **
    binding and routing**

    After getting the IPv6 subnet, you need to add routes.

    ip addr add local 2001:19f0:6001:48e4::/64 dev lo

    Correction: No need to add an address, only one address can be added in this line. We enable binding via ip_nonlocal_bind

    ip route add local 2001:19f0:6001:48e4::/64 dev enp1s0

    In order to be able to bind any IP, we need to enable the ip_nonlocal_bind feature of the kernel:

    sysctl net.ipv6.ip_nonlocal_bind=1
    **
    NDP**

    Similar to the role of the ARP protocol in IPv4, the ND protocol is required in IPv6 to discover neighbors and determine available paths. We need to enable an ND agent:

    Install ndppd: apt install ndppd

    Edit the /etc/ndppd.conf file:

    route-ttl 30000
    proxy enp1s0 {
    router no
    timeout 500
    ttl 30000
    rule 2001:19f0:6001:48e4::/64 {
    static
    }
    }

    Start ndppd: systemctl start ndppd
    Notice

    NDP needs to be enabled only when using the ND protocol for host discovery.

    If the entire subnet is routed directly, this step is not required. For example using Linode or He.com Tunnelbroker
    **
    verify**

    Next you can verify it by using curl --interface to specify the export IP:

    $ curl --interface 2001:19f0:6001:48e4::1 ipv6.ip.sb
    2001:19f0:6001:48e4::1
    $ curl --interface 2001:19f0:6001:48e4::2 ipv6.ip.sb
    2001:19f0:6001:48e4::2

    As you can see, we can make requests according to any IP we specify.

  • @mar_light said:

    Thanks, this works for buyvm, but not working for gullo's NAT vps.

  • BasToTheMaxBasToTheMax Member, Host Rep

    @FiberSuds said:

    @mar_light said:

    Thanks, this works for buyvm, but not working for gullo's NAT vps.

    Then it's probably not a routed subnet.

  • @BasToTheMax said:

    @FiberSuds said:

    @mar_light said:

    Thanks, this works for buyvm, but not working for gullo's NAT vps.

    Then it's probably not a routed subnet.

    Okay, thanks

Sign In or Register to comment.