Howto/SpeedtouchPptpBridge: PPTP-over-PPoA-Bridge.ini

File PPTP-over-PPoA-Bridge.ini, 3.4 KB (added by tj, 9 years ago)

PPTP over PPPoA Bridge SpeedTouch? configuration

Line 
1[ env.ini ]
2'Created by TJ <linux@tjworld.net> for Speedtouch 510 v3 with ADSL PPPoA
3'connected to router (Linksys WRT54GL + DD-wrt v24) with WAN Connection Type PPTP
4'Enter ISP user-name and password in router's (not SpeedTouch's) PPTP settings.
5'Gateway/PPTP Server = IP of Speedtouch LAN (e.g.10.0.0.138)
6'Speedtouch issues a LAN IP to router's WAN interface (usually 10.0.0.1)
7'which then creates the PPTP connection
8set var=CONF_REGION value="World"
9set var=CONF_PROVIDER value="Generic ISP"
10set var=CONF_DESCRIPTION value="DSLAM-> PPPoA <-xDSL Speedtouch [DHCP-server] LAN-> Ethernet <-WAN [DHCP+PPTP clients] Router LAN->"
11set var=CONF_SERVICE value="PPTP over PPPoA on user-specified xDSL VP/VC"
12set var=CONF_DATE value="29/05/2008"
13set var=CONF_VERSION value value="1.01"
14set var=HOST_SETUP value="auto shortcut"
15
16'setting of env variables for use without wizard
17'-----------------------------------------------
18'default for UK BT (see dsl group for other options)
19set var=DSL_ADDR value="0*38"
20set var=DSL_ENC value="vcmux"
21'set your preferred SpeedTouch password here
22set var=password value="xkUzJlxIcjg0Q5fP"
23
24'Definition of groups
25'--------------------
26def var=dsl_service type=grp desc="Specify the details of the DSL service. Most values are correct by default." alias="DSL Service"
27def var=passwordgrp type=grp desc="Specify a user-name and password to protect the SpeedTouch." alias="SpeedTouch security" 
28
29'DSL group 
30'---------- 
31def var=DSL_ADDR type=combo grp=dsl_service alias="VPI/VCI" data="0*35,0*36,0*37,0*38,8*35,8*36,8*37" default="0*38" req desc="Select the VPI/VCI value used and provided by your ISP."
32def var=DSL_ENC type=combo grp=dsl_service alias="Encapsulation" data="vcmux,nlpid" default="vcmux" req desc="Select the DSL encapsulation method used and provided by your ISP."
33
34'password group 
35'-------------- 
36def var=userid type=string grp=passwordgrp alias="User Name" req desc="Enter a SpeedTouch user-name (required but ignored!)."
37def var=password type=passw grp=passwordgrp alias="Password" req desc="Enter a SpeedTouch password."
38
39[ phone.ini ]
40add name=PPTP addr=$DSL_ADDR type=ppp
41
42[ qos.ini ]
43add name=default class=ubr tx_peakrate=0 tx_sustrate=0 tx_maxburst=0 rx_peakrate=0 rx_sustrate=0
44
45[ bridge.ini ]
46
47[ brfilter.ini ]
48
49[ pptp.ini ]
50profadd name=PPTP encaps=$DSL_ENC
51
52[ dhcp.ini ]
53config autodhcp=off
54policy verifyfirst=off trustclient=on
55pool add name=LAN
56'only use up to 254 LAN IP addresses for connected devices
57pool config name=LAN poolstart=10.0.0.1 poolend=10.0.0.254 netmask=24 leasetime=7200
58start
59
60[ mer.ini ]
61
62[ ppp.ini ]
63
64[ cip.ini ]
65
66[ nat.ini ]
67
68[ pfilter.ini ]
69
70[ pfirewall.ini ]
71
72[ ip.ini ]
73config forwarding=off firewalling=off redirects=on sourcerouting=off netbroadcasts=off ttl=64 fraglimit=64 defragmode=nat addrcheck=static mssclamping=on
74'only use up to 254 LAN IP addresses for connected devices
75apadd addr=10.0.0.138/24 intf=eth0 addroute=no
76ifconfig intf=loop mtu=1500 group=local
77ifconfig intf=eth0 mtu=1500 group=lan
78rtadd dst=224.0.0.0/4 intf=eth0
79rtadd dst=10.0.0.0/24 gateway=10.0.0.138
80rtadd dst=255.255.255.255/32 gateway=10.0.0.138
81
82[ dnsd.ini ]
83domain domain=lan
84add hostname=SpeedTouch
85start
86troff
87
88[ dhcc.ini ]
89config trace=off
90
91[ adsl.ini ]
92config opermode=multimode maxbitspertoneUS=13
93
94[ system.ini ]
95config upnp=off mdap=on
96setpassword password=$password
97
98[ endofarch ]
99