misc/server/forward_port_v4_to_v6.sh

5 lines
159 B
Bash
Raw Normal View History

2021-01-18 09:48:40 +01:00
#!/bin/bash
# This script allows forwarding of a port from an IPv4+6 host to a v6-only host.
socat TCP-LISTEN:local-port,fork TCP6:[v6-remote-ip]:remote-port