Skip to content
Contents
GuidesOpenWrt

Forward an authorized IPv6 entry port to a single IPv4 LAN service

socat can listen for IPv6 and establish a new IPv4 connection, suitable for specific TCP services.

socat can listen for IPv6 and establish a new IPv4 connection, suitable for specific TCP services. First determine the remote identity, access scope, and where TLS processing occurs. The original connection address and the address seen by the proxy backend may differ.

Limited addresses, ports, and authentication

Set up forwarding for an authorized service in an isolated environment, listening on a specified IPv6 address and port, with backend fixed to a trusted IPv4 address. fw4 should only allow required source addresses; public services should prefer reverse proxy with authentication and audit capabilities. Monitor for timeouts and reconnections.

Verify IPv6-to-IPv4 forwarding on an approved port

Prepare a trusted external IPv6 test client and internal network services. The service shall only listen to approved destinations and ports, and verify connections and authentication on both sides.

Verify service operation from an external IPv6 endpoint, and ensure denial from unauthorized endpoints. After prefix rotation, recheck bound addresses. When service is stopped, clear temporary allow rules.

Approved request is reachable, and all other ports remain closed. Protect the proxy entry source range; upon detection of anomalies, halt the forwarding and retest the original service.

Forward an IPv6 loopback listener to the router's IPv4 service and verify from IPv6. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Check the terminal output
Forward an IPv6 loopback listener to the router's IPv4 service and verify from IPv6. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Forward an IPv6 loopback listener to the router's IPv4 service and verify from IPv6. · OpenWrt 25.12.6 x86/64 (QEMU/KVM). Open the original image

Reference

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments