I have a raspberry pi running hostapd and I am able to connect my laptop as a wifi client to the raspberry bi wifi router.The problem is with the vpn traffic, I cant connect to my office vpn with raspberry pi router.My iptables arepi@raspberrypi ~ $ sudo iptables -L -n -vChain INPUT (policy ACCEPT 1277 packets, 80265 bytes) pkts bytes target     prot opt in     out     source               destinationChain FORWARD (policy ACCEPT 1 packets, 328 bytes) pkts bytes target     prot opt in     out     source               destination1862K 2369M ACCEPT     all  --  ppp0   wlan0   0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED 729K  152M ACCEPT     all  --  wlan0  ppp0    0.0.0.0/0            0.0.0.0/0Chain OUTPUT (policy ACCEPT 1069 packets, 167K bytes) pkts bytes target     prot opt in     out     source               destination
How to route vpn traffic over hostapd-raspberry pi
linux;iptables;raspberry pi;vpn