DNAT/Packetfilter problem

I am running 6.836, and I am not doing something right.

I need to know how to setup where anyone from the outside world can access my webserver on my internal network with a private IP.  I have alread defined the webserver, but Im not exactly sure how to configure the DNAT and Packetfilter.  

Thanks for your time/help
Parents
  • Hi

    To finish setting this up you need to do the following.  As you have said you have defined your webserver on a private IP which is cool

    Next create a DNAT that says.

    From anywhere to External interface on HTTP. then do not change source address but change destination to webserver, do not change destination port

    Then create a PF to say from Anywhere to your webserver on HTTP allow, and log if you need to.

    Hope this helps
  • Thanks alot, I was able to get it working, config error on my part.

    Now, to get VPN working... [:)]

    Hi

    To finish setting this up you need to do the following.  As you have said you have defined your webserver on a private IP which is cool

    Next create a DNAT that says.

    From anywhere to External interface on HTTP. then do not change source address but change destination to webserver, do not change destination port

    Then create a PF to say from Anywhere to your webserver on HTTP allow, and log if you need to.

    Hope this helps
Reply
  • Thanks alot, I was able to get it working, config error on my part.

    Now, to get VPN working... [:)]

    Hi

    To finish setting this up you need to do the following.  As you have said you have defined your webserver on a private IP which is cool

    Next create a DNAT that says.

    From anywhere to External interface on HTTP. then do not change source address but change destination to webserver, do not change destination port

    Then create a PF to say from Anywhere to your webserver on HTTP allow, and log if you need to.

    Hope this helps
Children
No Data