Simple tunneling for applications that don’t speak IPv6

If you want to access some services that are avaiable only for IPv6 hosts and the application doesn’t support it or you have no time to play with patches, use this tool. Simple `6tunnel 6668 irc6.net 6667′ will do.

I wanted to use a package that has been around quite long and sometimes serves me in a good way. Being not able to find any package prebuild, I’m just going to build it myself.

Make sure you have the required packages to build rpms
sudo yum -y install make gcc autoconf rpm-build
Get the source RPM somewhere (6tunnel-0.11-0.rc2.1.src.rpm)

$ rpm -ivh http://fdammeke.madoka.be/files/6tunnel-0.11-0.rc2.1.src.rpm
$ rpmbuild -ba rpmbuild/SPECS/6tunnel.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jpew6s
...
Wrote: /home/rpmbuild/rpmbuild/RPMS/x86_64/6tunnel-0.11-0.rc2.1.x86_64.rpm

There you have your shiny new 6tunnel rpm. Cheers! Put it on your local RPM repository or just install the RPM manually.
$ sudo rpm -i 6tunnel-0.11-0.rc2.1.x86_64.rpm
$ 6tunnel
usage: 6tunnel [-146dvh] [-s sourcehost] [-l localhost] [-i pass]
[-I pass] [-m mapfile] [-L limit] [-A filename]
[-p pidfile] localport remotehost [remoteport]

If you’re feeling lucky and want to try the rpm I built on rhel6 x84_64: 6tunnel-0.11-0.rc2.1.x86_64.rpm

Leave a Reply

Your email address will not be published. Required fields are marked *