Port forwarding broken?



  • Hello!

    I thought this used to work (maybe in 1.2.1?) but currently port forwarding isn't working for me anymore.

    Setup: Basic NAT firewall with WAN and LAN. WAN is a static ip.  My laptop has a static ip inside the LAN.

    I have set up port forwarding both manually and via UPnP (using this tool: http://www.codingmonkeys.de/portmap/).

    Using this on my laptop:
    laptop$ nc -l -p 49662

    I can connect to it via localhost:
    laptop$ echo hi | nc localhost 49662

    I can connect to it via my pfSense shell:

    echo hi | nc ip-of-laptop 49662

    But when I try from outside my firewall it doesn't work:
    externalhost$ echo hi | nc ip-of-wan 49662
    (UNKNOWN) [[i]ip-of-wan] 49662 (?) : Connection timed out

    Running tcpdump on the wan interface during the last command shows:

    tcpdump -n -i fxp0 port 49662

    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes
    13:01:40.319235 IP ip-of-externalhost.60867 > ip-of-wan.49662: S 1118995056:1118995056(0) win 5840 <mss 7="" 672380774="" 1460,sackok,timestamp="" 0,nop,wscale="">13:01:46.288269 IP ip-of-externalhost.60867 > ip-of-wan.49662: S 1118995056:1118995056(0) win 5840 <mss 7="" 672381524="" 1460,sackok,timestamp="" 0,nop,wscale="">13:01:58.227693 IP ip-of-externalhost.60867 > ip-of-wan.49662: S 1118995056:1118995056(0) win 5840 <mss 7="" 672383024="" 1460,sackok,timestamp="" 0,nop,wscale="">Running tcpdump on the lan interface during the last command shows no packets what so ever.

    Is there something I'm missing here?

    Ciao!</mss></mss></mss>


Log in to reply