1 |
> > route |
2 |
> > |
3 |
> > Kernel IP routing table |
4 |
> > Destination Gateway Genmask Flags Metric Ref Use Iface |
5 |
> > dslb-088-067-01 * 255.255.255.255 UH 0 0 0 ppp0 |
6 |
> > localhost * 255.255.255.0 U 0 0 0 eth0 |
7 |
> > loopback * 255.0.0.0 U 0 0 0 lo |
8 |
> > default dslb-088-067-01 0.0.0.0 UG 0 0 0 ppp0 |
9 |
> |
10 |
> Looking at this, I wouldn't even expect it to work at all, since the |
11 |
> only route via eth0 is for "localhost". But since you can connect |
12 |
> between router and desktop, I think you borked your /etc/hosts. |
13 |
> "localhost" clearly doesn't seem to be assigned to 127.0.0.1. So fix |
14 |
> your hostnames! |
15 |
> |
16 |
> |
17 |
> This here: |
18 |
> |
19 |
> > /etc/hosts |
20 |
> > |
21 |
> > 127.0.0.1 localhost |
22 |
> > 192.168.0.1 gentoo-vdr.linux gentoo-vdr |
23 |
> > 192.168.0.2 gentoo.linux gentoo |
24 |
> > ::1 localhost |
25 |
|
26 |
I think localhost is assigned to 127.0.0.1, or did i misunderstood something? |
27 |
|
28 |
> just can't be true if the routes above are the complete routes and you |
29 |
> can connect to your desktop from the router. |
30 |
|
31 |
I can connect from router to desktop and back ping and ssh are |
32 |
working, i can connect to the internet from the router, but i couldn't |
33 |
do this from the desktop |
34 |
|
35 |
> Another option than /etc/hosts may be a seriously broken dnsmasq config. |
36 |
|
37 |
I will post the config when i am back. |
38 |
|
39 |
> > > For those who are not familiar with shorewall here are the |
40 |
> > > generated iptables on the router. |
41 |
> > |
42 |
> > iptables -L -t filter |
43 |
> > |
44 |
> > Chain FORWARD (policy DROP) |
45 |
> > target prot opt source destination |
46 |
> |
47 |
> Empty FORWARD chain and policy DROP means everything not going to the |
48 |
> router itself is gonna be dropped. |
49 |
> |
50 |
> Note that you made yourself a hard time since there's DROP and REJECT |
51 |
> (built-in targets) and you also reference "Drop", "drop", "Reject" and |
52 |
> "reject" targets. I never used shorewall, but if that naming is from |
53 |
> them, they are clearly freaks. |
54 |
|
55 |
the whole iptables config is generated by shorewall, i recognised this |
56 |
different namings too. |
57 |
-- |
58 |
gentoo-user@g.o mailing list |