Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] DNAT not working Alan McKinnon <alan.mckinnon@×××××.com>