Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i have added pptpd support to my router, it works fine except that i have to add many lines to allow access to the new PPP connection in iptables.
I want to allow access to any PPP connection (PPP+) that is not PPP0 (since its my external inteface), PPP+ wont work since it will include PPP0 :S....
I know i can order the rules in such a way that it will check bail if the interface is PPP0 and then i may add the accept PPP+ rule... (confused yet??)
So my question here today is: Is there a away to make a simple IPTABLES rule that can accept all PPP connection except PPP0... something like
IPTABLES -A INPUT -I PPP+ ! PPP0 -J ACCEPT
is there such a syntax available to IPTABLES?
I cant seem to find something to suite my needs...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.