JOEN Posted September 3 Posted September 3 I have an ap in banana pi whose ip is 192.168.4.1. And eth0 on banana pi whose static ip is 192.168.144.100. I would like to connect device A from banana pi's ap and also it can ping to the eth0. So far I had tried: sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE sudo iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT 0 Quote
skm Posted September 3 Posted September 3 Might also need this: echo 1 > /proc/sys/net/ipv4/ip_forward 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.