Jump to content
Not connected, Your IP: 3.236.214.224
Sign in to follow this  
roko

OpenWRT + OpenVPN and Port Forwarding

Recommended Posts

Hello,

 

I have installed and configured OpenVPN on OpenWRT and it works with the interface tun0 configured such that OpenVPN automatically starts on bootup of OpenWRT and if there is no VPN connection then the Lan-network cannot access the WAN, only OpenVPN when it is up and running.

 

But I have a problem with Port Forwarding. I have "made" a forwarded port in the Client area of Airvpn. But when I have my program up and running using that port it is not accessable and also clicking on the "check" button from Aivpn of the port shows it is not accessible. Does anybody know and can help we with setting up a correct port forwarding in OpenWRT for the VPN? I have tried but nothing did succeed

Share this post


Link to post

Hello,

 

I have installed and configured OpenVPN on OpenWRT and it works with the interface tun0 configured such that OpenVPN automatically starts on bootup of OpenWRT and if there is no VPN connection then the Lan-network cannot access the WAN, only OpenVPN when it is up and running.

 

But I have a problem with Port Forwarding. I have "made" a forwarded port in the Client area of Airvpn. But when I have my program up and running using that port it is not accessable and also clicking on the "check" button from Aivpn of the port shows it is not accessible. Does anybody know and can help we with setting up a correct port forwarding in OpenWRT for the VPN? I have tried but nothing did succeed

Hi,

I'm trying to get my own openwrt router running with airvpn.

My goal is to get vpn only for the guest wlan. But I have some trouble with the routing configuration.

 

@roko: It would be pretty awesome if you could share your config.

Share this post


Link to post

 

Hello,

 

I have installed and configured OpenVPN on OpenWRT and it works with the interface tun0 configured such that OpenVPN automatically starts on bootup of OpenWRT and if there is no VPN connection then the Lan-network cannot access the WAN, only OpenVPN when it is up and running.

 

But I have a problem with Port Forwarding. I have "made" a forwarded port in the Client area of Airvpn. But when I have my program up and running using that port it is not accessable and also clicking on the "check" button from Aivpn of the port shows it is not accessible. Does anybody know and can help we with setting up a correct port forwarding in OpenWRT for the VPN? I have tried but nothing did succeed

Hi,

I'm trying to get my own openwrt router running with airvpn.

My goal is to get vpn only for the guest wlan. But I have some trouble with the routing configuration.

 

@roco: It would be pretty awesome if you could share your config.

 

Providing that you can assign a custom ip range for your guest wlan this topic may be of some use to you

 

https://airvpn.org/topic/14494-route-specific-ipssubnet-through-vpn-only/

 

keep in mind that I use tomatousb rather than openwrt, so things may be in different places.

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