Jump to content

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!

L2TP Client: OpenWRT with Policy Based Routing: Difference between revisions

no edit summary
No edit summary
No edit summary
<br>
<br>
;<big>1. Configure LAN interface</big>
:Click Add new interface, select Static address then enter
:Device br-lan
:Click Save & Apply, then disconnect your WLAN connection and rejoin, or refresh IP address.
<br>
;<big>2. Set up WAN Connection</big>
<br>
;<big>2 Set up WAN Connection</big>
:This is depended on your WAN connection; however you will most likely need to connect to it wirelessly in Client mode :like myself, or create a DHCP client on eth0.2 (VLAN 2) interface which should default to untagging VLAN 2 on the WAN :interface.
:In most situations you should probably enable Masquerading on the WAN interface (default) which is found under Firewall.
<br>
[[File:WRT002.png|680px]]
<br>
;<big>3. Create LAN Access Point(s) & add security</big>
:As above, in my case I have set up MyNetwork_5Ghz & MyNetwork_2Ghz, and have secured with a Passphrase. BOTH :interfaces are bound to the default br-lan interface which defaults to VLAN 1 (eth0.1) which untags ALL LAN ports.
:You can change this as you wish.
<br>
;<big>4. Download and Install xl2tpd</big>
:Go into Software, click Update lists, and then search for xl2tpd, and then click to install.
:In my case I have already installed it, however a reboot will be required one you have installed it.
<br>
[[File:WRT003.png|680px]]
<br>
autoreview, editor, emailconfirmed, reviewer, upwizcampeditors
223

edits