diffeneces between eth0 et ppp0

This is a discussion on diffeneces between eth0 et ppp0 within the Linux Security forums, part of the System Security and Security Related category; Hi, I am a newby il iptables, and I was wondering what is the diffenrence between eth0 and ppp0 when ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-26-2003
Joel
 
Posts: n/a
Default diffeneces between eth0 et ppp0

Hi,

I am a newby il iptables, and I was wondering what is the diffenrence
between eth0 and ppp0 when modem is plugged on eth0.

For example, my forward rules (to allow my lan (on eth1) to access on the
Internet) must be:
iptables -A FORWARD -i eth1 -o ppp0 -j ACCEPT
iptables -A FORWARD -o eth1 -i ppp0 -j ACCEPT

or

iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -A FORWARD -o eth1 -i eth0 -j ACCEPT

or

iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -A FORWARD -o eth1 -i eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o ppp0 -j ACCEPT
iptables -A FORWARD -o eth0 -i ppp0 -j ACCEPT
?

Do I have to care about eth0 or i just do
iptables -A INPUT -i eth0 -j ACCEPT
iptables -A OUTPUT -o eth0 -j ACCEPT
and i only take care of ppp0 and eth1 ?

Thx a lot.


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:02 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0