Debian package
First of all, thanks for the awesome script!
I added configuration templates so that it can be managed by the built in Vyatta config system, i.e. so you can do
set service eap-proxy wan-interface eth0
set service eap-proxy router-interface eth2
to set up the proxy. I also packaged it into a deb for easy installation.
If you feel that this is out of scope for your repo, I don't mind keeping it as a fork.
I assume this is a mistake as the two lines above would overwrite one another. I assume one of the lines should say router-interface. Also some README.md changes would be nice to explain how to compile this as a deb, and how to install it. :) I grabbed the premade deb from your repo. Thanks for the work.
@ShadwDrgn You're absolutely right. I've edited the post. (I had also written eap-service when it should have been eap-proxy.) I've also updated the README with build and installation instructions. I've left the PR alone though, not sure whether he'd want to merge the README changes. (It's also been two months, so I'm not sure he wants to merge these changes at all, heh. :) Maybe @kangtastic will want to merge the Vyatta integration changes into his fork.
Hi @univerio. I remember thinking you did a much better job playing nice with EdgeOS's facilities for a system service than I did of playing nice with systemd - I just kinda faked it with an init.d script that is also a config file parser. I'll look into your work more in-depth over the holidays!