Skip to content

Instantly share code, notes, and snippets.

@fpletz
Created July 22, 2015 22:06
Show Gist options
  • Save fpletz/81ce163dbce26c2efe42 to your computer and use it in GitHub Desktop.
Save fpletz/81ce163dbce26c2efe42 to your computer and use it in GitHub Desktop.
ffmuc fastd vpn offloader hack
secret "xxx";
log to syslog level info;
method "salsa2012+umac";
log to syslog level verbose;
mode tap;
interface "ffmuc-mesh-vpn";
mtu 1426;
status socket "/var/run/fastd.ffmuc.socket";
secure handshakes yes;
packet mark 1;
bind 0.0.0.0:10000;
peer "gw03" {
key "4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41";
remote ipv4 "gw03.ffmuc.net" port 10000;
remote ipv4 "gw03.freifunk-muenchen.de" port 10000;
}
on up "
ip l set $INTERFACE up
batctl if add $INTERFACE
batctl if add eth0
ip l set bat0 addr xx:xx:xx:xx:xx:xx
ip l set bat0 up
batctl gw client 3
alfred -i bat0 &
batadv-vis -s &
";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment