echo -n "$1" > /var/ipfire/red/iface
echo -n "$4" > /var/ipfire/red/local-ipaddress
echo -n "$5" > /var/ipfire/red/remote-ipaddress
+grep -v "gateway" /etc/hosts > /tmp/hosts
+echo "$5 gateway" >> /tmp/hosts
+mv /tmp/hosts /etc/hosts
touch /var/ipfire/red/active