<div dir="ltr">Thanks Eric.<br>I will do that.<br>😊<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 21, 2017 at 8:03 PM, Eric Light <span dir="ltr"><<a href="mailto:eric@ericlight.com" target="_blank">eric@ericlight.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><div>Yep you can make them permanent. Create your config in /etc/wireguard/wg0.conf. Then run 'systemctl enable wg-quick@wg0'  (assuming you're running systemd).<br></div>
<div><br></div>
<div>wg-quick takes care of interface creation, interface and endpoint IP addressing, routing, and peer keys; so you just create that file and then use 'wg-quick up wg0'. Â :)</div>
<div><br></div>
<div>I wrote a few blog posts on setting up wg to act as a bridge into a remote network; you can probably use a lot of the info from there to get you started: Â Â <a href="https://www.ericlight.com/wireguard-part-one-installation" target="_blank">https://www.ericlight.com/<wbr>wireguard-part-one-<wbr>installation</a><br></div><span class="">
<div><br></div>
<div>E</div>
<div><br></div>
<div id="m_1256548775279209199sig66226376"><div class="m_1256548775279209199signature">------------------------------<wbr>--------------<br></div>
<div class="m_1256548775279209199signature">Q: Why is this email five sentences or less?<br></div>
<div class="m_1256548775279209199signature">A: <a href="http://five.sentenc.es" target="_blank">http://five.sentenc.es</a><br></div>
<div class="m_1256548775279209199signature"><br></div>
</div>
<div><br></div>
<div><br></div>
</span><div><div class="h5"><div>On Sat, 22 Jul 2017, at 11:54, Sahil Gupta wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>Sorry, my bad.<br></div>
<div>I copy paste configuration of Peer A in both Peer A and B in this email.<br></div>
<div>I will follow the advise of Jason.<br></div>
<div><br></div>
<div><div>I switched off both Laptops and now wg interface are gone.<br></div>
<div>I need to create them again.<br></div>
<div>Can we make these interfaces permanent so they will not go upon switching off the laptop?<br></div>
</div>
<div><br></div>
<div><div>I will mail again if problem still persists.<br></div>
</div>
<div><div>Thanks<br></div>
<div>Sahil Gupta<br></div>
</div>
</div>
</blockquote><div><br></div>
</div></div></div>
</blockquote></div><br></div>