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

    Where can I set PPPoE for WAN in pfSense shell?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 718 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.
    • R
      rogeroger
      last edited by

      I would like to know where I can set PPPoE for the WAN in the pfSense shell. I can't access the web interface right now.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        There's no easy way to do that really. If I was doing it I would probably edit the config file directly and reboot to load it.

        Your WAN should look like:

        		<wan>
        			<if>pppoe0</if>
        			<descr><![CDATA[PPPoEWAN]]></descr>
        			<blockpriv></blockpriv>
        			<blockbogons></blockbogons>
        			<enable></enable>
        			<ipaddr>pppoe</ipaddr>
        		</wan>
        

        And you'll need a PPP section like:

        	<ppps>
        		<ppp>
        			<ptpid>0</ptpid>
        			<type>pppoe</type>
        			<if>pppoe0</if>
        			<ports>em0</ports>
        			<username>your_username</username>
        			<password>base64_encoded_password</password>
        			<descr><![CDATA[WAN]]></descr>
        			<provider>Your_ISP</provider>
        		</ppp>
        	</ppps>
        

        Or similar with your details in it.

        Steve

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