Jump to content

OpenVPN Portal for WiFi Clients


Recommended Posts


I want to setup the Pineapple Tetra as a VPN Portal, i.e. when a client connects to the wireless AP, the traffic should be routed directly through a VPN Connection. I already managed to setup a VPN Server and connect the Pineapple to the Server. Unfortunately the traffic is not routed per default through the tunnel interface.

The OpenVPNClient Module has an option to share the VPN Connection with the clients, but it doesn't seem to work. I've had a look at the module.php script and have seen that the script adds/removes iptables rules for nat/POSTROUTING. 

I've tried to enter these rules manually, but had no success.

Also I've tried to set up a bridge to tun0 but brctl doesn't seem to accept the tun0 interface as input parameter.

Another option I've tried was changing the default route, but this disconnected me from the pineapple unless I've pulled out and put back in the network cable.


Does anyone has an ideat how to make this work?




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...