[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: komisches Portforwarding...



On 22.Feb 2005 - 10:56:59, Dirk Deimeke wrote:
> Hallo Andreas,
> 
> > So, von nem Rechner im Netz komme ich ohne Probleme z.B. auf den
> > FTP-Server der auf PC2 läuft. Aber von PC1 oder PC2 komme ich nicht
> > auf den FTP-Server (mit der IP des ISDN-Interfaces).
> 
> hört sich stark nach einem Routing-Problem des ISDN-Rechners an.

Ebend, nur hab ich keine Idee was falsch ist...

> Könntest Du bitte noch die IP-Adressen und Routen von PC1, PC2 und PC3 
> (ISDN-Rechner?) angeben?

Kein Problem (PC3 entfällt - der ist momentan sowieso offline).

PC1:
neo:~>route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref Use Iface
62.104.208.42   0.0.0.0         255.255.255.255 UH    0      0     0 ippp0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0     0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0     0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0     0 ippp0

neo:~>ifconfig
eth0      Link encap:Ethernet  HWaddr 00:20:AF:ED:9E:A6
          inet addr:192.168.1.1  Bcast:192.168.1.255
	  Mask:255.255.255.0
eth1      Link encap:Ethernet  HWaddr 00:02:44:87:3E:46
          inet addr:192.168.2.1  Bcast:192.168.1.255
	  Mask:255.255.255.0
ippp0     Link encap:Point-to-Point Protocol
          inet addr:213.7.61.176  P-t-P:62.104.208.42
	  Mask:255.255.255.255
	  
Wobei sich die IP von ippp0 bei jeder Einwahl natürlich ändert...

PC2:

romorpheus:~>route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0     0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0     0 eth0

morpheus:~>ifconfig
eth0      Link encap:Ethernet  HWaddr 00:02:3F:67:BD:6C
          inet addr:192.168.2.2  Bcast:192.168.2.255
	  Mask:255.255.255.0
	  
Ich werd gleich nochmal probieren wie das ausschaut wenn ich die
iptables-Firewall-Regeln weglasse und nur MASQUERADE und DNAT mache...

Andreas

-- 
Just to have it is enough.



Reply to: