• Port forwarding while blocking direct access

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jimpJ

    That is a bit of a tricky situation - for NAT to allow the service in, you need to set the firewall rule to allow traffic to the target system's real port, which is 22. Because that IP is routed, and not really NAT, it still exposes the 'real' service.

    Hiding ports in this way only works if NAT is done for the whole IP - not routable, not 1:1.

    In your case you'd have to change the sshd config to listen on 1111 if that's what you really want.

  • Please Help

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    M

    @maschimidt:

    @submicron:

    This is exactly the problem.  You're using the wrong gateway.  Fix this.

    Ok, I'll try and give a return

    Hi Solved Problema…

    :)

  • Reloading rules taking a long time

    Locked
    10
    0 Votes
    10 Posts
    6k Views
    E

    An update after some debugging… It seems that my rules are reloaded instantly after a change has been submitted, but it takes nothing but 5 full minutes or more to execute the filter_configure_sync() php command which is being initialized by the check_reload_status.c file ..

    Any guesses to why it takes 5 minutes to reload my rules? Config file is 104kb, I have 325 rules (nat and firewall rules together) and 27 VIP's.

    EDIT:
    3 hours of debugging and a lot of coffie later I found the issue.. It seems my CARP sync was not working. After I edited rc.filter_configure_sync to show some microtime of how long each part took, it was clear that my CARP sync was the issue. Disabling this fixed the issue - now it reloads new rules very quickly, very neat.

    Today's lesson: Lean to fix your own errors... :-)

    Thx to jimp for helping! I gained a lot of nice knowledge about pfSense in the process.

  • NAT + Portforwarding Useless

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    Cry HavokC

    Please read the threads on XBox360 and UPnP in the gaming forum regarding that OPEN/STRICT issue. Port forwarding, non UPnP, works perfectly with pfSense.

  • TCP port forward goes fine but UDP doesn't

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    L

    A few builds later, it's now ok…

  • Mass create 500+ 1:1 NAT's

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    jimpJ

    I believe on 2.0 you can just make one entry that has a subnet mask and it will make an entire subnet's worth of 1:1's at a time.

    So if you had, say, a /23 (510 usable) you could make a single 1:1 entry and be done.

  • Sequential Port Mapping

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    GruensFroeschliG

    You could download the config.xml, look for the NAT part and copy/paste as many entries as you need.

  • DNS server - Same LAN but using the WAN address

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    C

    @cmb:

    @CrashOverride:

    No solution for this issue ?

    NAT reflection is the solution, or don't query it internally by its public IP ideally, routing traffic back in like that is ugly. It's possible if you have the local DNS forwarder enabled on the firewall it will interfere though I'm not 100% sure offhand on that, if you have it enabled try disabling it.

    Now: DNS Forwarder is Disabled and "Disable NAT Reflection" is not ticked.

    Then I can access my local webserver by using the External Address, but I can't access the local DNS server by using the External Address

    If I have: DNS Forwarder is Disabled and "Disable NAT Reflection" is ticked.

    I can't access anything on there external address

  • Web access seems to be fine but no web GUI, can someone help?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    C

    @j.smith1981:

    Wonder why it won't work on the WAN port, any suggestions at all?

    Because it treats that like an Internet connection, won't pass traffic into the LAN.

  • NAT 101

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 1:1 NAT and ping

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    Z

    As I suspected, my ISP is blocking ping. Thanks for the help.

    David

  • Dynamic DNS NAT Fails from LAN

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    jimpJ

    Nothing terribly wrong with using NAT Reflection for a couple ports here and there. It just doesn't scale well for larger purposes.

  • 2.0 Problem with 1:1 / NAT Reflection / need help or suggestions please

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    S

    Download snapshot from 18 jan 02:47.

    It was the first beta that worked for me regarding NAT reflection….

  • [Q] restart natd when recieving a new wan ip

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jimpJ

    There is no "natd" in pfSense. pfSense uses pf, which handles nat internally, not via a NAT daemon.

    When a new IP is received, the system updates with the new IP and reloads the firewall rules, nat, etc. The old IP is not retained.

  • [Solved] NAT reflection on multiple LAN

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    S

    Awesome, I'd never think of that. Working wonders finally.

    Port 80 was the only one I had with "any" for some reason.

    Thanks a lot. =)

  • NAT of priviledged ports

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    W

    Thanks for your comment.

    Yes, hostbased ports would probably do the job - although I'm not completely sure, if there are multiple connections from one inside client to various shares on the same outside server, they should be mapped to different originating ports, I believe, and I wouldn't know how to handle that.

    Anyway, all that requires much more insight into IP than I have. After some research, it turned out that most of the shares I need are also exported as samba shares, I use that instead of NFS now, and it's working reasonably well.

    However, I believe that this is quite a common problem (since VMware has the simple options for it). Would be great to see a better solution than move to a Windows implementation.

    Thanks, Frank

  • Sip port 5060 is block by Our ISP?? siproxd do help full?

    Locked
    4
    0 Votes
    4 Posts
    8k Views
    L

    I may add that Asterisk (and Elastix 2.0) work fine using a port other than 5060. This might also be a solution for you.

  • Port forwarding - Wirewall rules, setup a web server

    Locked
    8
    0 Votes
    8 Posts
    6k Views
    T

    all ip addresses are static bound to all machines. and they run all the time. the 10 dot ip addresses work great all machines can talk to eachother from one lan to the other, active directory updates from one lan to the other, just cant figure out how to make the 2 boxes talk. but every thing seams to be working fine i just need to update everything twice in both boxes.

    Thanks for the help

  • Port forwarding :: strange issue

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    B

    shammins,

    with your gateway set to box b can you do a simple telnet from box b on port 25 to box x ( mail server)?
    you should try this to see if you are getting at least one way communication.

    If you can get a telnet connection try and do a telnet email send to your email server/ box x from box b and see how the email fails in this scenario.
    This will eliminate a few things to narrrow things down a bit.

    BC

  • Intermittant Virtual IP forwarding problem

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.