> here are the commands used: > > # ip tuntap add tap0 mode tap user me > # ip addr add 192.168.11.254/24 dev tap0 > # ip link set tap0 down > # echo 11 tap0 >> /etc/iproute2/rt_tables > # ip rule add from 192.168.11.254 lookup tap0 you probably want `from 192.168.11.0/24` here (iif tap0 should also be an option) > # ip route add default via 192.168.144.254 dev wlan0 proto dhcp src 192.168.144.1 > # echo 1 > /proc/sys/net/ipv4/ip_forward > # iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE -- damjan