On access point side
- disable firewall
- enable packet forwarding
# echo 1 > /proc/sys/net/ipv4/ip_forward - set iptables rule for port forwarding
# iptables -t nat -A POSTROUTING -o-j MASQUERADE
- configure network interface so you can reach the access point
- set the access point as default gateway
# route add default gw - set dns resolution
# echo nameserver 8.8.8.8 >> /etc/resolv.conf
No comments:
Post a Comment