Re: Configurationrequest for firewall with temporary ppp0-interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just create rules specifying ppp0 as incoming and outgoing interface (-i and -o), e.g.

$IPTABLES -A FORWARD -i eth0 -o ppp0 -j ACCEPT
$IPTABLES -A FORWARD -o eth0 -i ppp0 -j ACCEPT

christoph

Ruprecht Helms wrote:
Hi,

I've the problem that I need some rules for a temporary ppp0 interface.
This interface is only active then the admin has made a dial-up on the server and has activated a ppp-daemon.

In the time the ppp0-Interface is up the connections should be able completely in both directions and through to clients. But this should only alowed for connections via ppp0.

Connections via the normal isdn0 should be protected by the normal firewallroules (iptables).

How have I to configure.

Regards,
Ruprecht

------------------------------------------------------------------------------------------
Ruprecht Helms IT-Service & Softwareentwicklung

Tel./Fax  +49[0]7621 16 99 16
Web:       htp://www.rheyn.de



--


Christoph Georgi
-----------------------------
email.  christoph.georgi@xxxxxx
fon.	+64 (0)9 815 8259

registered linux user #380268
ubuntu 5.04 (ubuntu.com)


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux