OpenWrt Forum Archive

Topic: Iptables to filter traffic through ppp0

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am running OpenWrt on a device with a primary DSL connection and  a Tmobile wireless card as a backup connection.
I have tried with dificulty to use iptables to block all traffic ( except pptp and ping  to the network 10.10.10.8/29) through interface ppp0( whenever it comes up).
Can someone just give me the iptables comands to apply to my device to achieve this result/
Thanks in advance

doesn't the default openwrt rules work for you ?

you might want to read up about iptables and firewall'ing

The discussion might have continued from here.