You can allow all IPV6 connections by flushing the firewall:
Code:
ip6tables -P INPUT ACCEPT
ip6tables -P FORWARD ACCEPT
ip6tables -P OUTPUT ACCEPT
ip6tables -F
ip6tables -t mangle -F
ip6tables -t nat -F
But this really insecure and will leave your VPS wide open for DDOS.
I downloaded the latest version of squid on ubuntu 20.04 x64 vps server (Vultr). ipv6 is enabled and dedicated on my server. I added the ip with ifconfig. with squid.conf below;
##############################################
forwarded_for delete
acl ipv4_ip_1 localip 45.***.***.**1
acl ipv4_ip_2 localip 45.***.***.**2
acl ipv6_ip_1 localip 2001:****:****:****:****:****:****:***1
acl ipv6_ip_2 localip 2001:****:****:****:****:****:****:***2
acl ipv4_port_1 localport 10000
acl ipv4_port_2 localport 10001
tcp_outgoing_address 2001:****:****:****:****:****:****:***1 ipv4_ip_1 ipv4_port_1
tcp_outgoing_address 2001:****:****:****:****:****:****:***2 ipv4_ip_1 ipv4_port_1
http_access allow ipv4_ip_1 ipv4_port_1
http_access allow ipv4_ip_2 ipv4_port_2
http_access deny all
http_port 45.***.***.**1:10000
http_port 45.***.***.**2:10001
###############################################
After doing the squid configuration, I connected to the proxy and this came across

both my ipv4 and ipv6 address appears. i just want it to appear ipv6. I tried to do it with iptables but I couldn't.
I would be glad if you help.