<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hurlster.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Asus_Merlin</id>
	<title>Asus Merlin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hurlster.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Asus_Merlin"/>
	<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=Asus_Merlin&amp;action=history"/>
	<updated>2026-08-25T20:31:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://hurlster.com/wiki/index.php?title=Asus_Merlin&amp;diff=2656&amp;oldid=prev</id>
		<title>Gqwill69: /* Second Network with VLAN */</title>
		<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=Asus_Merlin&amp;diff=2656&amp;oldid=prev"/>
		<updated>2017-10-12T17:38:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Second Network with VLAN&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:38, 12 October 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Second Network with VLAN ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Second Network with VLAN ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* wan-start&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/jffs/scripts/&lt;/ins&gt;wan-start&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #!/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #!/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  robocfg vlan 10 ports &amp;quot;1t 2t 3t 4t 5t&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  robocfg vlan 10 ports &amp;quot;1t 2t 3t 4t 5t&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gqwill69</name></author>
	</entry>
	<entry>
		<id>https://hurlster.com/wiki/index.php?title=Asus_Merlin&amp;diff=2655&amp;oldid=prev</id>
		<title>Gqwill69 at 16:58, 12 October 2017</title>
		<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=Asus_Merlin&amp;diff=2655&amp;oldid=prev"/>
		<updated>2017-10-12T16:58:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:58, 12 October 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l66&quot;&gt;Line 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 66:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  up /jffs/scripts/up.sh&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  up /jffs/scripts/up.sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  down /jffs/scripts/down.sh&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  down /jffs/scripts/down.sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Second Network with VLAN ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* wan-start&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; #!/bin/sh&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; robocfg vlan 10 ports &quot;1t 2t 3t 4t 5t&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vconfig add eth0 10&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ifconfig vlan10 up&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ifconfig vlan10 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; iptables -I INPUT -i vlan10 -j ACCEPT&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; iptables -I FORWARD -i vlan10 -j ACCEPT&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*/jffs/configs/dnsmasq.conf.add&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; interface=vlan10&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; dhcp-range=vlan10,192.168.2.31,192.168.2.60,255.255.255.0,7200s&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; dhcp-option=vlan10,3,192.168.2.1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gqwill69</name></author>
	</entry>
	<entry>
		<id>https://hurlster.com/wiki/index.php?title=Asus_Merlin&amp;diff=2646&amp;oldid=prev</id>
		<title>Gqwill69: Created page with &quot;* /jffs/script/up.sh  &lt;pre&gt; #!/bin/sh SMTP=&quot;smtp.example.com&quot; FROM=&quot;myrouter@example.com&quot; FROMNAME=&quot;ASUS&quot; TO=&quot;myemail@example.com&quot;  time=$(echo $(date +&quot;%c&quot;))  message=$(echo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=Asus_Merlin&amp;diff=2646&amp;oldid=prev"/>
		<updated>2017-05-15T14:03:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;* /jffs/script/up.sh  &amp;lt;pre&amp;gt; #!/bin/sh SMTP=&amp;quot;smtp.example.com&amp;quot; FROM=&amp;quot;myrouter@example.com&amp;quot; FROMNAME=&amp;quot;ASUS&amp;quot; TO=&amp;quot;myemail@example.com&amp;quot;  time=$(echo $(date +&amp;quot;%c&amp;quot;))  message=$(echo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* /jffs/script/up.sh &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
SMTP=&amp;quot;smtp.example.com&amp;quot;&lt;br /&gt;
FROM=&amp;quot;myrouter@example.com&amp;quot;&lt;br /&gt;
FROMNAME=&amp;quot;ASUS&amp;quot;&lt;br /&gt;
TO=&amp;quot;myemail@example.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
time=$(echo $(date +&amp;quot;%c&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
message=$(echo &amp;quot;&amp;lt;b&amp;gt;Connected Since:&amp;lt;/b&amp;gt; $time&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Real Address:&amp;lt;/b&amp;gt; \&lt;br /&gt;
$untrusted_ip&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Virtual Address:&amp;lt;/b&amp;gt; \&lt;br /&gt;
$ifconfig_pool_remote_ip&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Common \&lt;br /&gt;
Name:&amp;lt;/b&amp;gt; $common_name&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Subject: MYVPN CONNECT&amp;quot; &amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Content-Type: text/html&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;From: $FROMNAME&amp;lt;$FROM&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Date: `date -R`&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Client has connected to &amp;lt;b&amp;gt;MYVPN&amp;lt;/b&amp;gt;:&amp;lt;br&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;$message&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;---&amp;lt;br&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Your friendly router.&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
&lt;br /&gt;
/usr/sbin/sendmail -S&amp;quot;$SMTP&amp;quot; -f&amp;quot;$FROM&amp;quot; $TO &amp;lt; /tmp/mail.txt&lt;br /&gt;
rm /tmp/mail.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /jffs/scripts/down.sh&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
SMTP=&amp;quot;smtp.example.com&amp;quot;&lt;br /&gt;
FROM=&amp;quot;myrouter@example.com&amp;quot;&lt;br /&gt;
FROMNAME=&amp;quot;ASUS&amp;quot;&lt;br /&gt;
TO=&amp;quot;myemail@example.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
time=$(echo $(date +&amp;quot;%c&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
message=$(echo &amp;quot;&amp;lt;b&amp;gt;Connected Since:&amp;lt;/b&amp;gt; $time&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Real Address:&amp;lt;/b&amp;gt; \&lt;br /&gt;
$untrusted_ip&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Virtual Address:&amp;lt;/b&amp;gt; \&lt;br /&gt;
$ifconfig_pool_remote_ip&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Common \&lt;br /&gt;
Name:&amp;lt;/b&amp;gt; $common_name&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Subject: MYVPN DISCONNECT&amp;quot; &amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Content-Type: text/html&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;From: $FROMNAME&amp;lt;$FROM&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Date: `date -R`&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Client has disconnected from &amp;lt;b&amp;gt;MYVPN&amp;lt;/b&amp;gt;:&amp;lt;br&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;$message&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;---&amp;lt;br&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;Your friendly router.&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;&amp;quot; &amp;gt;&amp;gt;/tmp/mail.txt&lt;br /&gt;
&lt;br /&gt;
/usr/sbin/sendmail -S&amp;quot;$SMTP&amp;quot; -f&amp;quot;$FROM&amp;quot; $TO &amp;lt; /tmp/mail.txt&lt;br /&gt;
rm /tmp/mail.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Add to OpenVPN Client details&lt;br /&gt;
 up /jffs/scripts/up.sh&lt;br /&gt;
 down /jffs/scripts/down.sh&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Gqwill69</name></author>
	</entry>
</feed>