Skip to content

IP table persistence #34

@needlestack

Description

@needlestack

From @promiseowolabi of the rachel-chip project

I also noticed that the "iptables" are not persistent after rebooting. Made some changes to the /etc/rc.local command.
sudo("sh -c 'echo ifconfig wlan1 10.10.10.10 >> /etc/rc.local; echo service udhcpd restart >> /etc/rc.local; echo "iptables-restore < /etc/iptables.ipv4.nat" >> /etc/rc.local'") or die("Unable to setup udhcpd reset at boot.")

Look into this whether this is a RPi issue as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions