Menu

Portforwarding wird ignoriert

chris0478
2010-05-12
2013-05-29
  • chris0478

    chris0478 - 2010-05-12

    Hi zusammen,

    mein TARGA mit BS 0.3.6 hängt hinter einem Sphairion von Alice. Der Router wählt sich demnach über pppoE bei Alice ein und versorgt die Wohnung per WLAN mit Internet. Soweit funktioniert alles prima. Nun wollte ich auf meinem Linux Rechner einen apache aufsetzen. Deswegen habe ich ein Portforwarding auf den 80er Port eingerichtet. Leider funktioniert das nicht so wie ich will. Von innen kann ich den Apache erreichen. Sobald ich meine WAN IP eingebe bekomme ich keine Antwort. Habe es auch von außerhalb mittels Handy Browser probiert. Leider auch da kein Erfolg. Hatte zuerst das Webinterface des BS in Verdacht, das ja auch auf 80 lauscht. Das habe ich allerdings auf den 8080 gelegt. Leider auch da kein Erfolg. Ich poste mal die Ausgabe von "iptables -L -v" in der Web Shell:

    Chain INPUT (policy DROP 3 packets, 393 bytes)
      pkts bytes target     prot opt in     out     source               destination
         0     0 ACCEPT     all  -  lo     any     anywhere             anywhere
       446 53893 ACCEPT     all  -  br0    any     anywhere             anywhere
         0     0 ACCEPT     all  -  wl0    any     anywhere             anywhere
         9  1166 ACCEPT     all  -  any    any     anywhere             anywhere            state RELATED,ESTABLISHED
         3   393 SERVICES_INPUT  all  -  ppp_1_32_1 any     anywhere             anywhere
         3   393 SIP_INPUT  all  -  ppp_1_32_1 any     anywhere             anywhere
         3   393 PORTFW_INPUT  all  -  ppp_1_32_1 any     anywhere             anywhere
         0     0 ACCEPT     icmp -  ppp_1_32_1 any     anywhere             anywhere

    Chain FORWARD (policy DROP 0 packets, 0 bytes)
      pkts bytes target     prot opt in     out     source               destination
         0     0 TCPMSS     tcp  -  any    any     anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
        17  3610 PORT_AND_WEB_FILTER  all  -  any    ppp_1_32_1  anywhere             anywhere
        12  2203 PORT_AND_WEB_FILTER  all  -  ppp_1_32_1 any     anywhere             anywhere
        27  5693 ACCEPT     all  -  any    any     anywhere             anywhere            state RELATED,ESTABLISHED
         0     0 ACCEPT     all  -  br0    br0     anywhere             anywhere
         2   120 ACCEPT     all  -  br0    ppp_1_32_1  anywhere             anywhere            state NEW
         0     0 ACCEPT     all  -  wl0    wl0     anywhere             anywhere
         0     0 ACCEPT     all  -  wl0    ppp_1_32_1  anywhere             anywhere            state NEW
         0     0 ACCEPT     all  -  br0    wl0     anywhere             anywhere
         0     0 ACCEPT     all  -  wl0    br0     anywhere             anywhere
         0     0 ACCEPT     tcp  -  any    any     anywhere             192.168.2.145       tcp dpt:www
         0     0 ACCEPT     udp  -  any    any     anywhere             192.168.2.145       udp dpt:www

    Chain OUTPUT (policy DROP 0 packets, 0 bytes)
      pkts bytes target     prot opt in     out     source               destination
         0     0 ACCEPT     all  -  any    lo      anywhere             anywhere
       400 74175 ACCEPT     all  -  any    br0     anywhere             anywhere
         0     0 ACCEPT     all  -  any    wl0     anywhere             anywhere
         9   619 ACCEPT     all  -  any    any     anywhere             anywhere            state NEW,RELATED,ESTABLISHED

    Chain PORTFW_INPUT (1 references)
      pkts bytes target     prot opt in     out     source               destination
         0     0 RETURN     all  -  any    any     anywhere             anywhere

    Chain PORT_AND_WEB_FILTER (2 references)
      pkts bytes target     prot opt in     out     source               destination
        29  5813 RETURN     all  -  any    any     anywhere             anywhere

    Chain SERVICES_INPUT (1 references)
      pkts bytes target     prot opt in     out     source               destination
         0     0 ACCEPT     tcp  -  any    any     anywhere             anywhere            tcp dpt:ssh state NEW
         0     0 ACCEPT     tcp  -  any    any     anywhere             anywhere            tcp dpt:www state NEW
         3   393 RETURN     all  -  any    any     anywhere             anywhere

    Chain SIP_INPUT (1 references)
      pkts bytes target     prot opt in     out     source               destination
         3   393 RETURN     all  -  any    any     anywhere             anywhere

    Was mache ich falsch??

    VG

    chris

     
  • Patrick Schmidt

    Patrick Schmidt - 2010-05-21

    Dein Beitrag hat hier eigentlich nix verloren und gehört ins Hilfe-Forum.

    Um weitere Diagnostik zu machen müsstest du mal die nat-Table mit 'iptables -t nat -L -nv' abfragen und die Ausgabe posten damit man sieht ob überhaupt Pakete an der Weiterleitung ankommen. Hast du in den Firewall->General Settings auf das WAN-Device auf PPP eingestellt? Falls dort LAN steht kanns schonmal nicht gehen.

     

Log in to post a comment.

MongoDB Logo MongoDB