How To's

Setup an IPv4 to IPv6 Proxy - CentOS

15,529 views · 2 found this helpful

Was this helpful?

Problem

Setup an IPv4 to IPv6 Proxy in CentOS

tl;dr

yum update -y
    yum install squid -y
    chkconfig squid on
    nano /etc/squid/squid.conf

acl localnet src [YourIP]

service squid start
    socat TCP4-LISTEN:3128,fork,su=nobody TCP6:[IPV6-IP]:80
    

Solution

These steps will configure squid to convert and forward IPv4 requests into IPv6.

Install Squid
yum update -y
    yum install squid -y
    chkconfig squid on

Configure Squid so that only you can access the proxy

nano /etc/squid/squid.conf
acl localnet src [YourIP]
service squid start
Redirect Traffic

Forward all squid traffic to port 80 on an IPv6 IP on the server

socat TCP4-LISTEN:3128,fork,su=nobody TCP6:[IPV6-IP]:80
  • Updated

← All articles

Still stuck?

Our engineers answer tickets directly, 24/7.