Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPTables interface prerouting

Reply
Thread Tools Display Modes

IPTables interface prerouting

 
 
Marcus M?ller
Guest
Posts: n/a

 
      03-01-2004, 02:19 PM
I have built a minimal firewall (on a iPentium 100) using kernel
2.4.20, have a quite good rule set running.

I tried to find a way to connect a notebook to my lan, without needing
to buy a pcmcia(16bit) NIC for this ooold fashioned portable. I tested
connecting it to a linux pc (with a NIC of its own) and linking both
via a nullmodem cable using pppd, then using NAT to bring all packets
from interface pppX (the notebook's) into my LAN. Worked fine.
But:
I want to use my minimal router instead of this second PC. AND: I
don't want to change all of my rules just to add support for another
ppp interface. What I mean to say is: (How ) Is it possible to
configure Iptables that way, that during its prerouting methods it
routes the packets from ppp1 to eth1 (my ethernet interace on the
firewall) before continuing processing those, so that I only have to
add some rules instead of modifying dozens of them?

Greets
Marcus
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Iptables PREROUTING Not All Working Pascal Hambourg Linux Networking 3 11-06-2009 08:53 PM
PREROUTING Does not work -- IPTABLES stevehunter_1@hotmail.com Linux Networking 5 07-24-2008 03:02 PM
iptables proxy on a single interface Monterey IT Guy Linux Networking 0 02-08-2007 10:16 PM
iptables and interface state jqpx37 Linux Networking 2 08-20-2006 01:55 PM
IPtables web interface?? / Life with a dynamic ip... joshandlinds@gmail.com Linux Networking 6 02-19-2005 06:29 PM



1 2 3 4 5 6 7 8 9 10 11