Edit Wan IP on console
-
Hi all,
I'm trying to find a way to change the Wan IP on console (I need it to be static). I have pfsense running on a virtual machine and I cannot use a lan machine to access the web interface (I can only access this machine from the wan interface or console).
I tryed to edit the config file directly (/cf/conf/config.xml) but after that I get the error:"cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse."
can anyone give-me a hand? Is there a way to edit the wan IP from console?
thanks in advance
-
Solved.
just malformed xml in config.xml.
Sorry for the unnecessary post.
:-[
-
On 2.0 you can use the "Set interface(s) IP address" console option, and since you can't get on LAN, you might also find this useful:
Start a shell, and type in:
pfSsh.php playback enableallowallwan
Once you get in you can setup proper rules and lock it back down.