Its work, the only problem is that if I have an ADSL disconnect/reconnect I lose this address and must manually restart the order ip addr add 192.168.1.2/24 dev red0 or restart my ipfire
Is it possible to add via the setup or the pppsetup.cgi page this IP address so that it can reassign it with each connection?
The first line adds the IP for the red0 interface just the way you did including the broadcast address (192.168.1.255) for red0. Masquerading is needed to access the device from IPFire’s local net(s). The last line is useful for remote logging on IPFire.
For the stop section just use the following lines and you’re done: