Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Putty - Best way to change WAN / LAN / DHCP / General Settings ?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      burners
      last edited by

      I want to use Putty / command line only to change the following settings

      WAN IP / GTW / SNM / DNS 1&2 / PPPOE if needed
      LAN IP / GTW / SNM / DHCP if needed
      General Timezone (can change in config.xml unless there is a better way)

      SNMP Settings (not as important as others)

      I know I can do all of this through the web interface but wanted a way to do it without the web interface for testing purposes.

      I was hoping for command line arguments or even if I have to use the command line to edit files I am OK with that as well.

      Thanks for the great product

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        For most of those you'd end up having to either make a PHP script to alter the settings (See the existing pfSsh.php playback examples in /etc/phpshellsessions/ ) or alter the config.xml yourself.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B
          burners
          last edited by

          I could only find a few settings in the Config.xml.
          I will look into the pfssh.php examples

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.