Skip to content

a very simple script to reestablish a wireguard connection as soon as possible

License

Notifications You must be signed in to change notification settings

taziden/wg-reconnect-on-ping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

wg-reconnect-on-ping

A dead simple script that stops a Wiregard tunnel, continuously pings the Wireguard host and reconnects upon successful ping.

Useful for temporarily stopping Wireguard tunnel and logging into a public Wifi hotspot, but quickly reconnecting as soon as possible.

I suppose this is for those too lazy to set-up proper network namespace routing, as described in the Wireguard documentation. If like me, you will "get around to doing that one day", this might be of use in the meantime.

About

a very simple script to reestablish a wireguard connection as soon as possible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%