Adze1502 / mwan

Simple policy routing for multiple WANs in OpenWrt
84 stars 24 forks source link

ipset option ignored? #16

Closed jscinoz closed 9 years ago

jscinoz commented 9 years ago

According to the documentation, it should be possible to route based on destination IP addresses in a preconfigured ipset.

Sadly, this appears to be untrue - a rule containing no other qualifiers besides an ipset option matches all outgoing packets. Looking through the source, it appears that matching based on ipsets isn't actually implemented - I can't see any match-set iptables rules being created anywhere.

Is the documentation incorrect, or am I overlooking something here?

Adze1502 commented 9 years ago

Keep in mind that ipset support is available from version 1.6-1. Which version are you running?

1.6.1 is only available at the openwrt/package repository. This repository is unmaintained.

arfett commented 9 years ago

Perhaps the readme on this repo should be updated to reflect that it is unmaintained and should no longer be used.

jscinoz commented 9 years ago

Ah, that would explain it then, I have version 1.5-10. Oddly this is from an OpenWRT image built only yesterday, so I would have expected it to be the latest available. Do I need to do something special to get 1.6-1?

jscinoz commented 9 years ago

Ah, disregard that. My feeds.conf was referring to an old branch. My apologies for wasting anyone's time.

Adze1502 commented 9 years ago

@arfett : the readme already has this info...

arfett commented 9 years ago

@Adze1502 I'd say this issue shows that it may be a little ambiguous. Perhaps the very first thing should say this repository is unmaintained and should not be used and we recommend users use the OpenWrt/packages repository?