ipv6-proxy-server icon indicating copy to clipboard operation
ipv6-proxy-server copied to clipboard

Simpler, smaller configuration file.

Open juhacz opened this issue 2 years ago • 4 comments

It seems to me that it is possible to simplify the script and, above all, the configuration file by following these changes in 3proxy. https://github.com/3proxy/3proxy/issues/639 .

Grettings

juhacz avatar Mar 26 '23 13:03 juhacz

Sorry, cannot do this, because script have to add each specific ipv6 address to interface via command ip -6 addr add $ipv6_address dev $interface_name. If you leave the generation of random addresses on 3proxy, it's not very clear how to assing them to interface. I tried using ndppd, but it wont working on some servers. If you have any ideas for an alternative to ndppd, be sure to write here

Temporalitas avatar Mar 26 '23 20:03 Temporalitas

I'm not a Linux expert, I only know the basics, but some time ago I needed to be able to change the ipv6 address on every request in curl on my VPS, for which I had a whole ipv6 class at my disposal. On Debian 12 I did it by setting up like this (VPS in Alwyzon) and then I could use any generated ipv6 address from my class and everything worked without any problem.:

auto lo
iface lo inet loopback
    dns-nameservers 46.102.157.42 46.102.157.27 2a0d:f302:99::99
    dns-search vie.alwyzon.net

iface lo inet6 loopback
	address 2a0d:f302:xxx:xxxx::/64
	post-up ip route add local 2a0d:f302:xxx:xxxx::/64 dev lo
	pre-down ip route del local 2a0d:f302:xxx:xxxx::/64 dev lo

auto eth0
iface eth0 inet static
    address 86.106.xxx.xx/26
    gateway 86.106.182.65

iface eth0 inet6 static
	address 2a0d:f302:xxx:xxxx::1/64	
	gateway 2a0d:f302:xxx::1

Maybe this will help you solve the problem. Regards

juhacz avatar Mar 26 '23 21:03 juhacz

iface lo inet6 loopback

This wont working on servers with automatically configuring network interfaces on web panel, like Vultr. Requires everything to work without changing /etc/network/interfaces

Temporalitas avatar Mar 26 '23 23:03 Temporalitas

What is the reason for this error, friends? Vultr

Error: /etc/network/interfaces has no inet6 (IPv6) configuration.

testkings123 avatar Apr 02 '24 19:04 testkings123

What is the reason for this error, friends? Vultr

Error: /etc/network/interfaces has no inet6 (IPv6) configuration.

image

Temporalitas avatar Nov 03 '24 12:11 Temporalitas