Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] DNAT not working
Date: Wed, 16 Jan 2008 18:24:45
Message-Id: 200801162013.49843.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] DNAT not working by Konstantinos Agouros
1 On Wednesday 16 January 2008, Konstantinos Agouros wrote:
2 > In <200801161423.38386.alan.mckinnon@×××××.com>
3 alan.mckinnon@×××××.com (Alan McKinnon) writes:
4
5 > >Most likely he doesn't have the correct module loaded int he kernel
6 >
7 > As I said, the fact that iptables -L (after a fresh reboot) does not
8 > do anything puzzles me a bit. What would be the right module in Your
9 > opinion? Also is there a kernel configuration option I might have
10 > overseen?
11
12 nat needs the following config at least:
13
14 Networking -> Networking Options -> Network packet filtering framework
15 (Netfilter) -> IP: Netfilter Configuration -> Full NAT
16
17 and the options below it
18
19 the modules that load on my machine after running that same iptbales
20 command are:
21
22 xt_tcpudp 3712 1
23 iptable_nat 7812 1
24 nf_nat 20524 1 iptable_nat
25 nf_conntrack_ipv4 18952 2 iptable_nat
26 nf_conntrack 66376 3 iptable_nat,nf_nat,nf_conntrack_ipv4
27 nfnetlink 6424 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
28 ip_tables 14284 1 iptable_nat
29 x_tables 15748 3 xt_tcpudp,iptable_nat,ip_tables
30
31
32 alan
33
34 --
35 Alan McKinnon
36 alan dot mckinnon at gmail dot com
37 --
38 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] DNAT not working Etaoin Shrdlu <shrdlu@×××××××××××××.org>
Re: [gentoo-user] DNAT not working Konstantinos Agouros <elwood@×××××××.de>