What's new

How to load iptables rpfilter module ?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Denna

Senior Member
How do you load the iptables rpfilter module in a script ?
 
Last edited:
Not available.....kernel is too old

"A new iptables/ip6tables match (rpfilter) was added in kernel 3.4.4"
 
Are the "/proc/sys/net/ipv4/conf/*/rp_filter" settings used by the firmware ?
What is the difference between setting the values in "/proc/sys/net/ipv4/conf/*/rp_filter" and using the netfilter module ?

 
Last edited:
Are the "/proc/sys/net/ipv4/conf/*/rp_filter" settings used in the Asuswrt-Merlin firmware ?
 
What are the "/proc/sys/net/ipv4/conf/*/rp_filter" settings used for in Asuswrt-Merlin ?
 
What are the "/proc/sys/net/ipv4/conf/*/rp_filter" settings used for in Asuswrt-Merlin ?

e.g. see /usr/sbin/vpnrouting.sh
Code:
# Unsure if necessary, but most policy-based routing scripts disable reverse path filtering
 for i in /proc/sys/net/ipv4/conf/*/rp_filter ; do
  echo 0 > $i
 done
 
Last edited:
@Martineau,

Is that code from @RMerlin or Asus ?​

Policy based routing is used to direct traffic for specific IP/MAC addresses to a particular VPN client on the router, correct ?

When configuring routing in this manner in the Asuswrt-Merlin WebGUI, that automatically changes all the "1" values to "0", correct ?​
 
Last edited:

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top