Wiki



Paste the following commands in your terminal window
sudo ip tunnel add 6project mode sit remote "IPv4-Server-POP" local "YourIPv4" ttl 255
sudo ip link set 6project up
sudo ip addr add 2001:db8:1:2:3::2/80 dev 6project
sudo ip route add ::/0 dev 6project


/etc/network/interfaces file
auto 6project
iface 6project inet6 v4tunnel
address 2001:db8:1:2:3::2
netmask 80
endpoint "IPv4-Server-POP"
local "YourIPv4"
ttl 255
gateway 2001:db8:1:2:3::1


/etc/netplan/99-6project-tunnel.yaml and paste the following inside it
network:
version: 2
tunnels:
6project:
mode: sit
remote: "IPv4-Server-POP"
local: "YourIPv4"
addresses:
- "2001:db8:1:2:3::2/80"
gateway6: "2001:db8:1:2:3::1"
For the new configuration to take effect you will need to issue sudo netplan apply command. If you are not using netplan please refer to the Debian configuration guide


/etc/sysconfig/network file to make sure you have the following configuration
NETWORKING_IPV6=yes
IPV6_AUTOCONF=no
IPV6_DEFAULTGW=2001:db8:1:2:3::1
IPV6_DEFAULTDEV=sit1
2) Create a new file /etc/sysconfig/network-scripts/ifcfg-sit1 and paste the following inside it
DEVICE=sit1
BOOTPROTO=none
ONBOOT=yes
IPV6INIT=yes
IPV6TUNNELIPV4="IPv4-Server-POP"
IPV6TUNNELIPV4LOCAL="YourIPv4"
IPV6ADDR=2001:db8:1:2:3::2/80


Paste the following commands in your terminal window
sudo ifconfig gif0 create
sudo ifconfig gif0 tunnel "YourIPv4" "IPv4-Server-POP"
sudo ifconfig gif0 inet6 2001:db8:1:2:3::2 2001:db8:1:2:3::1 prefixlen 128
sudo route -n add -inet6 default 2001:db8:1:2:3::1


Paste the following commands in your CMD window running as Administrator
netsh interface teredo set state disabled
netsh interface ipv6 add v6v4tunnel interface=IP6Tunnel localaddress="YourIPv4" remoteaddress=IPv4-Address-POP
netsh interface ipv6 add address interface=IP6Tunnel address=2001:db8:1:2:3::2
netsh interface ipv6 add route prefix=::/0 interface=IP6Tunnel nexthop=2001:db8:1:2:3::1


Paste the following commands
configure terminal
interface Tunnel0
description 6project.org Tunnel Broker (IT)
no ip address
ipv6 enable
ipv6 address 2001:db8:1:2:3::2/80
tunnel source "YourIPv4"
tunnel destination "IPv4-Server-POP"
tunnel mode ipv6ip
ipv6 route ::/0 Tunnel0
end
write


Paste the following commands
/interface 6to4 add comment="6project.org Tunnel Broker (IT)" disabled=no local-address="YourIPv4" mtu=1280 name=sit1 remote-address="IPv4-Server-POP"
/ipv6 route add comment="" disabled=no distance=1 dst-address=::/0 gateway=2001:db8:1:2:3::1 scope=30 target-scope=10
/ipv6 address add address=2001:db8:1:2:3::2/80 advertise=no disabled=no eui-64=no interface=sit1
If your client computer is behind NAT, make sure you replace the public address ex 1.1.1.1 with your NAT address instead ex 192.168.1.4
Still having issues configuring your tunnel get in touch with us with over at [email protected]
How can I help you?