{"id":849,"date":"2016-05-27T19:19:30","date_gmt":"2016-05-27T09:49:30","guid":{"rendered":"http:\/\/www.l8ter.com\/?p=849"},"modified":"2016-05-27T19:20:04","modified_gmt":"2016-05-27T09:50:04","slug":"allow-asuswrt-aiprotection-send-emails-via-google-apps","status":"publish","type":"post","link":"http:\/\/www.l8ter.com\/?p=849","title":{"rendered":"Allow ASUSWRT AiProtection send emails via Google Apps or 3rd party SMTP"},"content":{"rendered":"<p>This is just a quick post to show how to make the asus wrt routers (for me the dsl-ac68U) send emails to non gmail domains, like google apps. I tried various things, like editing the email.conf and then editing asp page to allow. however this failed namely because the file system is read only. In the end a co-worker pointed me tot he burp suite. Basically it allows us to intercept http requests between the pc and the modem via proxy.<\/p>\n<p>So lets get to it, Grab burp suite (free);\u00a0https:\/\/portswigger.net\/burp\/download.html<\/p>\n<p>Run burpsuite_free_vwhatever.jar (Close any and all internet browser windows you dont need)<\/p>\n<p>Change your browsers proxy to 127.0.0.1:8080 (in windows go control panel -&gt; Internet Options -&gt; Connections tab -&gt;Lan settings-&gt; Tick &#8220;Use proxy server for your LAN&#8221; and enter 127.0.0.1 and port 8080.<\/p>\n<p>In burpsuite go to proxy tab, then intercept tab, turn intercept off (click intercept is on)<\/p>\n<p>Open a browser window and navigate to your ASUS DSL modem, go to AiProtection -&gt; Network Protection<\/p>\n<p>In burpsuite go to proxy tab, then intercept tab, turn intercept on (click intercept is off)<\/p>\n<p>Click Alert Preference, enter;<\/p>\n<p>Provider: Google<br \/>\nEmail: eraser@gmail.com (has to be gmail right now)<br \/>\nPassword: yourpassword<br \/>\nNotification choose whatever you want (I chose all three, <strong>if you want to change this in the future you need to start from the above step<\/strong>)<br \/>\n<a href=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/alerts.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-850\" title=\"alerts\" src=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/alerts-494x396.png\" alt=\"\" width=\"494\" height=\"396\" srcset=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/alerts-494x396.png 494w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/alerts-288x231.png 288w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/alerts-746x600.png 746w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/alerts-800x642.png 800w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/alerts.png 977w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a>\u00a0Click apply.<\/p>\n<p>Navigate to the burp suite and check the raw data, click &#8220;forward&#8221; until you see something like;<br \/>\n<a href=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/changeburp.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-851\" title=\"changeburp\" src=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/changeburp-494x398.png\" alt=\"\" width=\"494\" height=\"398\" srcset=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/changeburp-494x398.png 494w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/changeburp-288x232.png 288w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/changeburp-743x600.png 743w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/changeburp-800x645.png 800w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/changeburp.png 997w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a>Change the fields you want;<\/p>\n<p>PM_SMTP_SERVER =smtp.gmail.com (Change to your smtp server, leave for google apps)<br \/>\nPM_SMTP_PORT=487 (Change to your smtp port, leave for google apps)<br \/>\nPM_MY_EMAIL=eraser%14gmail.com (Change to your email address replacing the @ with %14)<br \/>\nPM_SMTP_AUTH_USER=eraser (Change to your login details, google apps youruser@domain.com)<br \/>\nPM_SMTP_AUTH_PASS=yourpassword (Change to your google appse or SMTP password)<\/p>\n<p>Click forward, and keep clicking forward until the modem is back at the Network Protection page.<\/p>\n<p>You should receive an email confirming your email;<\/p>\n<p><a href=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/email.png\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-852\" title=\"email\" src=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/email-494x239.png\" alt=\"\" width=\"494\" height=\"239\" srcset=\"http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/email-494x239.png 494w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/email-288x139.png 288w, http:\/\/www.l8ter.com\/wp-content\/uploads\/2016\/05\/email.png 519w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p>Now your good to go,<br \/>\n&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is just a quick post to show how to make the asus wrt routers (for me the dsl-ac68U) send emails to non gmail domains, like google apps. I tried various things, like editing the email.conf and then editing asp&#8230; <a class=\"more-link\" href=\"http:\/\/www.l8ter.com\/?p=849\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":850,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[23,16],"tags":[151,30,148,147,149,150,152],"_links":{"self":[{"href":"http:\/\/www.l8ter.com\/index.php?rest_route=\/wp\/v2\/posts\/849"}],"collection":[{"href":"http:\/\/www.l8ter.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.l8ter.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.l8ter.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.l8ter.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=849"}],"version-history":[{"count":3,"href":"http:\/\/www.l8ter.com\/index.php?rest_route=\/wp\/v2\/posts\/849\/revisions"}],"predecessor-version":[{"id":855,"href":"http:\/\/www.l8ter.com\/index.php?rest_route=\/wp\/v2\/posts\/849\/revisions\/855"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.l8ter.com\/index.php?rest_route=\/wp\/v2\/media\/850"}],"wp:attachment":[{"href":"http:\/\/www.l8ter.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.l8ter.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=849"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.l8ter.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}