Hello,
I needed to connect to a server, which was (is) only reachable with IPv6. So, this is how I did setup my IPv6 connection.
Step 1:
Download and install Freenet
Code:
wget http://go6.net/4105/file.asp?file_id=150 -O go6.tar.gz
mkdir go6
cd go6
tar zxf ../go6.tar.gz
rm ../go6.tar.gz
sudo apt-get -y install libcurl4-openssl-dev openssl libcrypto++-dev libpthread-stubs0-dev build-essential
cd ./gw6c-messaging
make target=linux exportdir=../tspc-advanced export
cd ../gw6c-config
make target=linux exportdir=../tspc-advanced export
cd ../tspc-advanced
make target=linux all
sudo make target=linux installdir=/usr/local/gw6c install
cd ~
rm -r go6
Step 2:
Create config file
Code:
cd /usr/local/gw6c/bin
sudo rm gw6c.conf #If there are errors here, it's no problem.
sudo gedit gw6c.conf
Paste the following and save:
Code:
server=anon.freenet6.net
auth_method=anonymous
host_type=host
prefixlen=64
if_prefix=eth0
dns_server=208.67.222.222
gw6_dir=/usr/local/gw6c
auto_retry_connect=yes
retry_delay=30
keepalive=yes
keepalive_interval=30
tunnel_mode=v6anyv4
if_tunnel_v6v4=sit1
if_tunnel_v6udpv4=tun
if_tunnel_v4v6=sit0
client_v4=auto
client_v6=auto
template=linux
proxy_client=no
broker_list=tsp-broker-list.txt
last_server=tsp-last-server.txt
always_use_same_server=no
log_filename=gw6c.log
log_rotation=yes
log_rotation_size=32
syslog_facility=USER
Step 3:
Run Freenet
Code:
cd /usr/local/gw6c/bin
sudo ./gw6c
If you don't see any errors it should be fine. Wait a minute to give it start-up time and go to this page. If you see something like 'You are using IPv6', everything went fine!
Bookmarks