12,344
edits
This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!
m (AA-Andrew moved page FireBrick l2TP Server to FireBrick L2TP Server) |
No edit summary |
||
AAISP Data SIMS can be relayed on to your own L2TP Server, such as a FireBrick. This will enable a remote SIM to be connected directly to your LAN and have an IP on your LAN, very similar to a VPN.
The Computer (or device) with the SIM will not need any special config or software installed.
At the moment the L2TP tunnel is not encrypted, but this will change shortly.
=FireBrick Config=
<syntaxhighlight>
<l2tp>
<incoming name="MyL2TP" hostname="FireBrick" secret="myPassword" pppip="10.0.0.2" pppdns1="217.169.20.20" pppdns2="8.8.8.8" lcp-rate="25" lcp-timeout="240" tcp-mss-fix="true
<match name="MySIM" graph="MySIM" calling-station-id="89442xxxxxx" remote-ip="10.0.0.4
</l2tp>
</syntaxhighlight>
The settings explained are:
*name - Just a name for this
*hostname - the hostname used within the l2tp, this will be used later when setting up the AAISP SIM end.
*secret - the password
*pppip - the IP used as the PPP endpoint on the FireBrick - typically the FireBricks IP address
*pppdns1/2 - DNS servers that the FireBrick will give out
*lpc-rate/timeout - used for graphs - we don't need to poll as often as the actual LCPs are not answered by the SIM, but by the mobile network. Basically latency on the graphs for SIMs should be ignored.
The <match settings are to match individual SIMs when the conenct in, and thus giving them their own IP address etc.
You will also need firewall filters, eg to allow trraffic out of the SIM:▼
*name - just a name, eg teh name of the person using this SIM
*graph - make a graph for this SIM - will show usage etc, but latency can be ignored.
*calling-station-id - this is the ICCID of the SIM, as AAISP use this as the station id
*remote-ip - the IP address to give the SIM, ie, an IP address on your LAN
<syntaxhighlight>
<rule name="L2TPOut" source-interface="l2tp"/>
</syntaxhighlight>
This ofcourse can be restricted, so you could give a SIM just access to your LAN and not your WAN - ie to block internet access whilst allowing them to access your own internal servers.
=AAISP Config=
At the AAISP end, AAISP will set up a 'line' on the control pages for your SIM, you can request Staff to set
*Target IP - IP (4 or 6) of your FireBrick
*Host - The Hostname as set in your 'incoming' config, ie FireBrick in this case
|
edits