# forward port 8000 on IPv6 to IPv4 host port 80 # change enable to '1' to use this example config socat 'http' option enable '0' option SocatOptions '-d -d TCP6-LISTEN:8000,fork TCP4:192.168.1.20:80'