Gentoo Archives: gentoo-user-de

From: Christoph Probst <chris-usenet@×××××××××.org>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Gentoo Rechner als Gateway
Date: Tue, 21 Sep 2004 03:46:32
Message-Id: 20040921034629.GC2112@netzpunkt.org
In Reply to: Re: [gentoo-user-de] Gentoo Rechner als Gateway by Christian Schneemann
1 Hallo.
2
3 Christian Schneemann schrieb am 20.09.2004 um 23:15 Uhr:
4
5 > echo "1" > /proc/sys/net/ipv4/ip_forward &&
6
7 Diese Zeile wuerde ich in /etc/conf.d/local.start eintragen.
8
9
10 > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE &&
11 > iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS
12 > --clamp-mss-to-pmt &&
13 > iptables -A INPUT -i ppp0 -m state --state ESTABLISHED,RELATED -j ACCEPT
14
15 Diese Befehle nach der Installation von iptables einfach ausfuehren
16 und dann "/etc/init.d/iptables save" aufrufen.
17
18 Chris
19
20 --
21 What is irritating about love is that it is a crime that requires an accomplice.
22 -- Charles Baudelaire

Replies

Subject Author
Re: [gentoo-user-de] Gentoo Rechner als Gateway Sascha Dirbach <gentoo-user-de@××××××××××××.de>