What's new

Nat-PMP through OpenVPN connection

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Jbperrin88

New Around Here
Hi there .

I've an issue with my Xbox live connection.

I can't play some multiplayer game , and my group chat is not stable because my XBOX 'nat' stay Moderate or Strict.

This issue come from my ISP connection (4G network in france with FREE ISP use carrier-nat)

So i buy a special VPN which handle nat-pmp to remotely open port.

I've try it through my computer , and it is working well.

I really want to used my Asus RT-AC87U with AsusWRT-merlin to handle this VPN .

Do you have some advice on how can i set openvpn client connection with port forwarding through nat-pmp ?

Can i use miniupnp ? or do i need some other stuff like iptable ?
 
You can't. You need to manually forward the port, since UPnP has no way of telling your provider which port to forward.
 
ho .... I thought it was the goal of nat-pmp to handle which port need to be open .

I was talking with the VPN provider.

He knew a way to handle this kind of stuff through natpmpc with openwrt.

Something like that :

#!/bin/sh
natpmpc -g ${route_vpn_gateway} -a 3074 3074 TCP
natpmpc -g ${route_vpn_gateway} -a 3074 3074 UDP

This script can be launch when openvpn start
 
Last edited:
ho .... I thought it was the goal of nat-pmp to handle which port need to be open .

I was talking with the VPN provider.

He knew a way to handle this kind of stuff through natpmpc with openwrt.

Something like that :

#!/bin/sh
natpmpc -g ${route_vpn_gateway} -a 3074 3074 TCP
natpmpc -g ${route_vpn_gateway} -a 3074 3074 UDP

This script can be launch when openvpn start

That's assuming the forwarded port is always the same (3074). If the forwarded port is static, best to manually forward it rather than rely on UPnP.
 
I'm trying another way .

I've buy a VPN with port forwarding (list set via web)

How can route only my Xbox IP through VPN and allow some port in both direction (SNAT DNAT ) ?
 
You cold just DMZ the Xbox or port forward it, I would recommend upgrading to an AC 86u which can just upnp the Xbox if you load it with Merlin firmware and set its Nat to open.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top