Last active
March 15, 2016 15:35
-
-
Save gordonjcp/2ab47ee90d6324d83286 to your computer and use it in GitHub Desktop.
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/bash | |
# add route to AAISP LNS | |
ip route add 90.155.53.19 via 192.168.1.1 dev usb0 | |
# add route to add-on.ee.co.uk | |
ip route add 82.192.97.153 via 192.168.1.1 dev usb0 | |
# now remove the default route through ee | |
# and pass it through AAISP | |
ip route delete default via 192.168.1.1 dev usb0 | |
ip route add default via 81.187.81.187 | |
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
ipcp-accept-local | |
ipcp-accept-remote | |
refuse-eap | |
require-mschap-v2 | |
noccp | |
noauth | |
idle 1800 | |
defaultroute | |
usepeerdns | |
lock | |
connect-delay 5000 | |
+ipv6 | |
ipv6cp-accept-local | |
name <username> | |
password <password> |
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
[lac aaisp] | |
lns = 90.155.53.19 | |
ppp debug = no | |
pppoptfile = /etc/ppp/options.aaisp | |
length bit = yes | |
bps = 60000000 | |
redial = yes | |
redial timeout = 5 | |
autodial = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment