Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - mthode

Pages: [1]
1
Kernel config:
Code: [Select]
zgrep IP_MULTIPLE_TABLES < /proc/config.gzthat needs to return 'IP_MULTIPLE_TABLES=y'

PPTP config:
/etc/ppp/chap-secrets
Code: [Select]
# Secrets for authentication using CHAP
# client server secret IP addresses
user_name label SECRET_PASS *
The user_name is your user name from HE.
The label is whatever you want to call your tunnel.
SECRET_PASS is the pass you set for the tunnel from HE.

/etc/ppp/peers/[label]   (use the name of whatever you called your tunnel)
Code: [Select]
pty "pptp tunnel_server --nolaunchpppd"
name user_name
remotename he.net
file /etc/ppp/options.label
The tunnel_server is the server you connect to at HE.
The user_name is your user name from HE.
The remote name is the name of your tunnel.
The file option is the file you use for your tunnel specific settings.  Change the label to what you used up in /etc/ppp/chap-secrets.

/etc/ppp/options.label
Code: [Select]
lock
noauth
persist
nodefaultroute
mtu 1400
mru 1400
nobsdcomp
nodeflate
lcp-echo-failure 30
lcp-echo-interval 10

Add the following to /etc/ppp/ip-up
Code: [Select]
echo "1 admin" >> /etc/iproute2/rt_tables
ip route add default dev ppp0 table admin
ip rule add from your_ip_from_he table admin
The your_ip_from_he needs to be the IP that HE is routing to you.

Add the following to /etc/ppp/ip-down
Code: [Select]
ip rule del from your_ip_from_he table admin
ip route del default dev ppp0 table admin
sed "/1 admin/d" /etc/iproute2/rt_tables
The your_ip_from_he needs to be the IP that HE is routing to you.


After all this is done, all you need to do is the following
Code: [Select]
pon label
Code: [Select]
poff labelThe label is whatever you called your tunnel in /etc/ppp/chap-secrets and the peers file.

*edit: corrected title and added some options

2
Questions & Answers / dns.he.net slave
« on: April 26, 2010, 03:59:44 PM »
I am currently using my own bind server and having xname.org pull the reccords as a slave.  Is there a way to do this with dns.he.net?

3
IPv6 on Linux & BSD & Mac / multiple computers
« on: October 08, 2009, 12:39:48 PM »
I am trying to get multiple computers on multiple subnets to use IPv6 through a tunnel provisioned through HE but have no idea where to start, what seems to happen is whenever I try to use the HE provided config for each of my servers it works for only one, if I use it (changing the address) for more then one only one gets out (ping6 ipv6.google.com).  Is there a way to get many servers to work with IPv6?

Pages: [1]