only ipv6 proxy

shzofren

Registered Member
Joined
Jun 9, 2020
Messages
55
Reaction score
4
I installed ipv6 proxy server with 3proxy and squid.but both my ipv4 and ipv6 addresses are visible.How can I configure the firewall to only show ipv6.I am using ubuntu
 
What do your Squid/3proxy configs and your browser proxy settings look like?
The squid.conf file looks like this;
##########################
acl user1 myportname 10000
acl user2 myportname 10001
acl user3 myportname 10002

http_access allow user1
http_access allow user2
http_access allow user3

http_access allow all

http_port 45.***.***.***:10000 name=10000
http_port 45.***.***.***:10001 name=10001
http_port 45.***.***.***:10002 name=10002

tcp_outgoing_address 2001:****:****:****:****:****:****:**** user1
tcp_outgoing_address 2001:****:****:****:****:****:****:**** user2
tcp_outgoing_address 2001:****:****:****:****:****:****:**** user3
###########################
1594059099462.png
 
You've already created a thread for this:

https://www.blackhatworld.com/seo/please-help-me-about-squid-ipv6-proxy-server.1240732/
 
Why would you delete it? I gave a detailed reply with a suggestion based on your config:

Are the IPs configured with the network interface?
Which version of Squid are you using?
Are there any errors when you run squid -k parse?

Try adding the http_access and http_port ACLs to the bottom of the config. Maybe the user1 and user2 ACLs aren't reading the name defined in http_port because of the order they're listed in.

You might also need to use localip for IPv4/IPv6 and define both the IP and port ACLs, but I haven't tested it.

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
 
Let me know if it works. It also looks like I made a typo previously:

tcp_outgoing_address 2001:****:****:****:****:****:****:***1 ipv4_ip_1 ipv4_port_1
tcp_outgoing_address 2001:****:****:****:****:****:****:***2 ipv4_ip_1 ipv4_port_1


Should be:

tcp_outgoing_address 2001:****:****:****:****:****:****:***1 ipv4_ip_1 ipv4_port_1
tcp_outgoing_address 2001:****:****:****:****:****:****:***2 ipv4_ip_2 ipv4_port_2


I'll test it soon on a VM since I need IPv4 to IPv6 as well.
 
Let me know if it works. It also looks like I made a typo previously:




Should be:




I'll test it soon on a VM since I need IPv4 to IPv6 as well.
the result I tried is the same. both my ipv4 address and my ipv6 address are visible.it is probably necessary to configure a firewall.this address (3proxy) has been studied previously and only the ipv6 address appears but it no longer works.
here
 
Back
Top