Skip to content

Hou-dev/simple-eap-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Simple ATT Modem Bypass using Edgerouter X

What is an eap proxy?

In computer networking is a server that acts as an intermediary from clients seeking resources from a server that provides those resources. In our case we are requesting eap packets from the ont and sending them to the modem provided by the ATT.

Why use an eap proxy to bypass the ATT modem/router combo?

  • User friendly GUI for managing network using Ubiquiti EdgeOS
  • Performance issues with Modem
  • Easy port forwarding
  • Deep Packet Inspection / Traffic Analysis built into EdgeOS
  • Using and install custom packages into EdgeOS such as HTOP, IPTraf, etc
  • QoS using smart queue management if your network is running 150 mbps or less instead for 1 gbps

Simple EAP Proxy Setup

1. Initial Steps

Annotation 2020-06-04 161400

Annotation 2020-06-04 161841

  • Make note of Modem/Router MAC address. It’s usually on black stick on the side of device
  • Setup Edgerouter X and run basic setup. Make sure you are not running v2.x.x because the proxy only works with v1.x.x

Annotation 2020-06-04 161324

  • Make a Backup
  • Once the initial setup of the ER-X is finished, make a backup by click on “System” on the bottom left then clicking “Download”

Annotation 2020-06-04 161446

2. Transfer

Annotation 2020-06-04 161658

  • Login into the ER-X using WinSCP using the SCP protocol. Hit the up arrow on the folder until you are on the root directory

Annotation 2020-06-04 162044

  • Drag and drop eap_proxy.py to /config/scripts/
  • Drag and drop eap_proxy.sh.example to /config/scripts/post-config.d/
  • Rename eap_proxy.sh.example to eap_proxy.sh

Annotation 2020-06-04 162431

3. PuTTY

Open command in WinSCP and click “open in PuTTY”

Annotation 2020-06-04 162653

Enter password and then type the following commands

sudo chmod +x /config/scripts/eap_proxy.py
sudo chmod +x /config/scripts/post-config.d/eap_proxy.sh

WARNING: This is the most dangerous setup. I am not responsible if you brick your ER-X.

4. Editing config.boot

  • Navigate using WinSCP to /config/
  • Right click on config.boot and hit edit

Annotation 2020-06-04 163810

  • Scroll down until you see system, then delete everything above it Reminder: Do not delete your system code it is where you password is stored
  • Copy everything but the system code from my config.boot.sample and paste it above your system code. It should look like the sample but with your uniquie system code.
  • Find "mac" under interfaces from pasted code and replace it with your ATT Modem MAC address

Annotation 2020-06-04 175605

  • Scroll to system and here is where you can change the dns to Cloudflare (1.1.1.1) or Google (8.8.8.8). Under “name-server” , type your preferred DNS provider
  • Look for offload and type “hwnat enable” without quotes

Annotation 2020-06-04 174210

5. Plug

  • Plug ethernet from ONT to eth0
  • Plug LAN to eth1
  • Plug ATT Modem/Router ONT port to eth2
  • Restart ER-X and you should see something like below Annotation 2020-06-04 180426

Credit

https://github.com/jaysoffian/eap_proxy

https://github.com/Genghis1227/guide_eap_proxy

https://old.reddit.com/r/Ubiquiti/comments/c36ko1/help_with_eap_proxy/

Releases

No releases published

Packages

No packages published