Portforwarding mit IP-Tables.....

Ronny Fauth jadefalkner at imperium-noctem.de
Tue Mar 16 10:57:18 UTC 2004


Ich sehe grad, daß ein

iptables -L -t nat -nvx

das da bringt..... also eigentlich sollte er es doch machen, oder???? er 
leitet doch alle anfragen von Port
4711 an 192.168.0.2:4711 weiter.......aber wieso kommt dann connection 
refused??? fehlt da der Rückweg noch oder wie???
ich versteh das nicht

----

Chain PREROUTING (policy ACCEPT 1230 packets, 66284 bytes)
    pkts      bytes target     prot opt in     out     
source               destination
       0        0 DNAT       tcp  --  ppp0   *       
0.0.0.0/0            0.0.0.0/0          tcp dpt:4662 to:192.168.0.2
       0        0 DNAT       tcp  --  ppp0   *       
0.0.0.0/0            0.0.0.0/0          tcp dpt:4711 to:192.168.0.2:4711
       0        0 DNAT       tcp  --  ppp0   *       
0.0.0.0/0            0.0.0.0/0          tcp dpt:4712 to:192.168.0.3

Chain POSTROUTING (policy ACCEPT 27 packets, 1682 bytes)
    pkts      bytes target     prot opt in     out     
source               destination
      12      600 MASQUERADE  all  --  *      ppp0    
192.168.0.0/16       0.0.0.0/0

Chain OUTPUT (policy ACCEPT 27 packets, 1682 bytes)
    pkts      bytes target     prot opt in     out     
source               destination

----





More information about the Fedora-de-list mailing list