I have an ipv6-only-vserver and a dual stack (ipv4-ipv6) server. How do I "add" ipv4 capability to the ipv6-only-server? So it's possible to "use" it like a ipv4 server:
- ssh/scp into the vserver via ipv4
- using webdav/sftp/http/xmpp/... via ipv4
- use curl on github/gitlab/ other ipv4 websites
The hosting company does not have an ipv4 gateway, proxy or similar - only ipv6.
Added: I do have a dual-stack (IPv4, IPv6) server where I setup an OpenVPN server and also connected the ipv6-only-vserver as client, but the performance was horrible (latency 10x times higher ~1.200ms and speed 4mbits up/ 8mbits down ... but without vpn 600mbits up / 750mbits down).
I looked into several tools (socat
6tunnel
sshuttle
), but couldn't make it work, except the ssh which is working:
/etc/rc.local
nohup socat TCP4-LISTEN:XXXXX,fork,su=nobody TCP6:[IPv6-DUALSTACK-SERVER]:22