Portforward and firewall rule in shell



  • Hello,

    I have been using PfSense for quite a long time now, but i never learned the shell part.
    How could i portforward ex. port 90 from WAN to 192.168.1.5 local port 70?

    And in the same time make a rule in the firewall for this?

    Thanks!



  • While it is possible to manually add rules to the firewall from the shell, it is a very bad idea. Stick to the web interface. If you are interested in the mechanics, this is a good place to start: http://home.nuug.no/~peter/pf/en/


Log in to reply