Gentoo Archives: gentoo-user

From: Konstantinos Agouros <elwood@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] DNAT not working
Date: Thu, 17 Jan 2008 17:24:19
Message-Id: 1200590596.662469@rumba
In Reply to: Re: [gentoo-user] DNAT not working by Alan McKinnon
1 In <200801162013.49843.alan.mckinnon@×××××.com> alan.mckinnon@×××××.com (Alan McKinnon) writes:
2
3 >On Wednesday 16 January 2008, Konstantinos Agouros wrote:
4 >> In <200801161423.38386.alan.mckinnon@×××××.com>
5 >alan.mckinnon@×××××.com (Alan McKinnon) writes:
6
7 >> >Most likely he doesn't have the correct module loaded int he kernel
8 >>
9 >> As I said, the fact that iptables -L (after a fresh reboot) does not
10 >> do anything puzzles me a bit. What would be the right module in Your
11 >> opinion? Also is there a kernel configuration option I might have
12 >> overseen?
13
14 >nat needs the following config at least:
15
16 >Networking -> Networking Options -> Network packet filtering framework
17 >(Netfilter) -> IP: Netfilter Configuration -> Full NAT
18
19 >and the options below it
20
21 >the modules that load on my machine after running that same iptbales
22 >command are:
23
24 >xt_tcpudp 3712 1
25 >iptable_nat 7812 1
26 >nf_nat 20524 1 iptable_nat
27 >nf_conntrack_ipv4 18952 2 iptable_nat
28 >nf_conntrack 66376 3 iptable_nat,nf_nat,nf_conntrack_ipv4
29 >nfnetlink 6424 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
30 >ip_tables 14284 1 iptable_nat
31 >x_tables 15748 3 xt_tcpudp,iptable_nat,ip_tables
32
33 This is what I have:
34
35 Module Size Used by
36 iptable_filter 6400 1
37 iptable_nat 10116 0
38 ip_tables 14404 2 iptable_filter,iptable_nat
39 nf_nat 19116 1 iptable_nat
40 x_tables 14084 2 iptable_nat,ip_tables
41 nf_conntrack_ipv4 11908 2 iptable_nat
42 nf_conntrack 53192 3 iptable_nat,nf_nat,nf_conntrack_ipv4
43 nfnetlink 8088 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
44
45
46 xt_tcpudp is the difference as it seems
47
48
49 >alan
50
51 >--
52 >Alan McKinnon
53 >alan dot mckinnon at gmail dot com
54 >--
55 >gentoo-user@l.g.o mailing list
56
57 --
58 Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@×××××××.de
59 Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
60 ----------------------------------------------------------------------------
61 "Captain, this ship will not survive the forming of the cosmos." B'Elana Torres
62 --
63 gentoo-user@l.g.o mailing list

Replies

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