Jump to content
Not connected, Your IP: 3.15.203.246
Sign in to follow this  
Alonzo

Wireguard, how *not* to route all traffic through the VPN and also forward ports?

Recommended Posts

Hi,

I'm trying to setup wireguard in a way that only applications i set to use the wg's interface will route its traffic through the VPN, with port forwarding enabled. I was under the impression that something like the following should work, but it doesn't:
 

[Interface]
Address = 10.184.118.49
PrivateKey = [redacted]
MTU = 1320
DNS = 9.9.9.9

[Peer]
PublicKey = [redacted]
PresharedKey = [redacted]
Endpoint = ip:port
AllowedIPs = 10.184.118.0/24
PersistentKeepalive = 15

If I set the AllowedIPs to 0.0.0.0/0 then I can port forward, but all my traffic is routed over the VPN, and I don't want that. Is something like this possible with AirVPN?


Thank you,
Alonzo

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.

Guest
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.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...