LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2005, 06:58 PM   #1
thewonka
Member
 
Registered: Feb 2005
Location: Cambs UK/San Diego US/Tijuana MX
Distribution: Slackware/Debian!
Posts: 53

Rep: Reputation: 15
Angry IPTables and PPTPD :S (to block or not to block)


I all ^_^

I have stumbled on to a not to bad snag...

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...

Cheers mates ^_^
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPtables - Block all except what I allow ]SK[ Linux - Software 4 02-10-2005 06:14 AM
iptables, block port 80? frank2 Linux - Security 4 09-12-2004 09:14 AM
IPTables to block IP protocol ppuru Linux - Security 3 06-26-2004 02:20 AM
Iptables to block everything except few hosts sysadmcse Linux - Security 1 09-16-2003 09:48 PM
Block UT2003 with iptables Kostko Linux - Networking 1 11-23-2002 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration