Hotspot mode with VPN bridge

Hi, if I’m not mistaken you would need to setup iptable rules to allow forwarding the network traffic towards the tun0 interface. Something like this should do

iptables -t nat -A POSTROUTING -s 192.168.42.0/24 -o tun0 -j MASQUERADE
iptables -A FORWARD -i tun0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i wlan0 -o tun0 -j ACCEPT

and to save stuff

iptables-save > /etc/iptables.ipv4.nat

But @trendy is more an expert than I’m and probably has some better ideas. :smiley: