Jump to content
Not connected, Your IP:

remote-random in wireguard?

Recommended Posts

I keep using openvpn due to openvpn having the remote-random feature. It is an easy method to configure a router to connect randomly to another airvpn server.

Can you achieve this automated openvpn remote-random like feature with wireguard on a router setup? How?

If not, is this a service Airvpn could provide (router always connects to a single server and then airvpn randomly changes the exit server location)?


A moat does not protect against pigeons!

Share this post

Link to post

I ran into this question myself back before I started using Air's wireguard offering, and my dd-wrt kludge to deal with this using AzireVPN's wireguard system is described in a dd-wrt forum thread.  As Air uses pre-shared keys while Azire does not, you should expect to have to tweak the approach described there.  Compare Air configs for two separate servers (same Air device should be fine) to see which fields need to be modified when the script runs at router shutdown time.  For wireguard interface oet1, for example, the pre-shared key for the first (and only) peer (for a client set up) goes in nvram variable oet1_psk0, so the script will certainly need to customize that one.

I wish I could say I knew of an approach to wireguard's remote-random lack that is suitable for nonprogrammers who are justifiably reluctant to dive into modifying a shell script.  Unfortunately though, I don't.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image

  • Create New...