<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://massmesh.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Hosting_a_Gateway</id>
	<title>Hosting a Gateway - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://massmesh.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Hosting_a_Gateway"/>
	<link rel="alternate" type="text/html" href="https://massmesh.org/wiki/index.php?title=Hosting_a_Gateway&amp;action=history"/>
	<updated>2026-08-15T14:32:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://massmesh.org/wiki/index.php?title=Hosting_a_Gateway&amp;diff=1842&amp;oldid=prev</id>
		<title>Stephen304 at 22:21, 13 September 2020</title>
		<link rel="alternate" type="text/html" href="https://massmesh.org/wiki/index.php?title=Hosting_a_Gateway&amp;diff=1842&amp;oldid=prev"/>
		<updated>2020-09-13T22:21:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:21, 13 September 2020&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-l40&quot; &gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Place .ovpn, userpass.txt (if applicable), and any certs in /etc/openvpn/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Place .ovpn, userpass.txt (if applicable), and any certs in /etc/openvpn/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Reboot&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Reboot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sudo ip rule add from 10&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;42.0.0/16 table 42&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Restart autoygg-server&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;service&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* ip ro add default dev vpn0 table 42&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Connect via autoygg client&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Connect via autoygg client&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key massmeshwiki:diff::1.12:old-1840:rev-1842 --&gt;
&lt;/table&gt;</summary>
		<author><name>Stephen304</name></author>
		
	</entry>
	<entry>
		<id>https://massmesh.org/wiki/index.php?title=Hosting_a_Gateway&amp;diff=1840&amp;oldid=prev</id>
		<title>Stephen304: /* Installation */</title>
		<link rel="alternate" type="text/html" href="https://massmesh.org/wiki/index.php?title=Hosting_a_Gateway&amp;diff=1840&amp;oldid=prev"/>
		<updated>2020-09-13T16:02:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:02, 13 September 2020&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-l28&quot; &gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;MaxClients: 100&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;MaxClients: 100&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;YggdrasilInterface: ygg0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;YggdrasilInterface: ygg0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;FirewallWanInterface: vpn0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;GatewayInfoURL: &amp;quot;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;GatewayInfoURL: &amp;quot;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key massmeshwiki:diff::1.12:old-1836:rev-1840 --&gt;
&lt;/table&gt;</summary>
		<author><name>Stephen304</name></author>
		
	</entry>
	<entry>
		<id>https://massmesh.org/wiki/index.php?title=Hosting_a_Gateway&amp;diff=1836&amp;oldid=prev</id>
		<title>Stephen304: Created page with &quot;This page documents the steps to set up your own gateway. Digitalocean's $5 VPS provides great value for this purpose.  == Installation ==  * Install packages `sudo apt instal...&quot;</title>
		<link rel="alternate" type="text/html" href="https://massmesh.org/wiki/index.php?title=Hosting_a_Gateway&amp;diff=1836&amp;oldid=prev"/>
		<updated>2020-09-13T15:18:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This page documents the steps to set up your own gateway. Digitalocean&amp;#039;s $5 VPS provides great value for this purpose.  == Installation ==  * Install packages `sudo apt instal...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page documents the steps to set up your own gateway. Digitalocean's $5 VPS provides great value for this purpose.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Install packages `sudo apt install openvpn golang make`&lt;br /&gt;
* [https://yggdrasil-network.github.io/installation-linux-deb.html Install yggdrasil] and enable the service&lt;br /&gt;
* Ensure peers are added to yggdrasil's config&lt;br /&gt;
* Set yggdrasil's interface name to ygg0 in the config&lt;br /&gt;
* Clone [https://github.com/MassMesh/autoygg autoygg] and checkout the desired version tag&lt;br /&gt;
* `cd autoygg &amp;amp;&amp;amp; make`&lt;br /&gt;
* Copy autoygg-server to /bin/ and autoygg-server.service to /usr/lib/systemd/system/&lt;br /&gt;
* `sudo systemctl daemon-reload`&lt;br /&gt;
* Create /etc/autoygg/server/yml&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
ListenHost: &amp;quot;your-gateways-ygg-ip-from-yggdrasilctl-getSelf&amp;quot;&lt;br /&gt;
ListenPort: &amp;quot;8080&amp;quot;&lt;br /&gt;
GatewayOwner: &amp;quot;Your Name &amp;lt;you@provider.com&amp;gt;&amp;quot;&lt;br /&gt;
GatewayDescription: &amp;quot;Describe this gateway&amp;quot;&lt;br /&gt;
GatewayNetwork: &amp;quot;Mullvad VPN&amp;quot;&lt;br /&gt;
GatewayLocation: &amp;quot;New York, US&amp;quot;&lt;br /&gt;
RequireRegistration: true&lt;br /&gt;
AccessListEnabled: false&lt;br /&gt;
GatewayTunnelIP: &amp;quot;10.42.0.1&amp;quot;&lt;br /&gt;
GatewayTunnelNetmask: &amp;quot;16&amp;quot;&lt;br /&gt;
GatewayTunnelIPRangeMin: 10.42.0.10&lt;br /&gt;
GatewayTunnelIPRangeMax: 10.42.0.255&lt;br /&gt;
MaxClients: 100&lt;br /&gt;
YggdrasilInterface: ygg0&lt;br /&gt;
GatewayInfoURL: &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Enable / start the autoygg-server service&lt;br /&gt;
* Edit your .ovpn config, remove up/down:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dev vpn0&lt;br /&gt;
dev-type tun&lt;br /&gt;
route-nopull&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Place .ovpn, userpass.txt (if applicable), and any certs in /etc/openvpn/&lt;br /&gt;
* Reboot&lt;br /&gt;
* sudo ip rule add from 10.42.0.0/16 table 42&lt;br /&gt;
* ip ro add default dev vpn0 table 42&lt;br /&gt;
* Connect via autoygg client&lt;/div&gt;</summary>
		<author><name>Stephen304</name></author>
		
	</entry>
</feed>