Thanks Jason and Eric.

Problem is with the router.
Router is blocking ping request.
I changed the router and make my mobile phone as Access Point with Laptops.
Problem is resolved.
😊

Regards
Sahil Gupta


On Fri, Jul 21, 2017 at 8:07 PM, Sahil Gupta <sg5414@g.rit.edu> wrote:
Thanks Eric.
I will do that.
😊

On Fri, Jul 21, 2017 at 8:03 PM, Eric Light <eric@ericlight.com> wrote:
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).

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'.  :)

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:   https://www.ericlight.com/wireguard-part-one-installation

E

--------------------------------------------
Q: Why is this email five sentences or less?



On Sat, 22 Jul 2017, at 11:54, Sahil Gupta wrote:
Sorry, my bad.
I copy paste configuration of Peer A in both Peer A and B in this email.
I will follow the advise of Jason.

I switched off both Laptops and now wg interface are gone.
I need to create them again.
Can we make these interfaces permanent so they will not go upon switching off the laptop?

I will mail again if problem still persists.
Thanks
Sahil Gupta