This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This adds the appropriate 6rd tunnel for AT&T DSL users with a DD-WRT based router. | |
# Place it in /jffs/etc/config/att-6rd.wanup, and then ln -s /jffs/etc/config/att-6rd.ipup to it. | |
# The AT&T customer 6rd gateway. | |
# This is an anycast address that picks the closest one to you on the AT&T network. | |
REMOTE=12.83.49.81 | |
# Your local IP address. | |
LOCAL="$(ip -o -4 addr show dev ppp0 |awk '{print $4}')" |