Skip to the content.

nettica-rpm

Repository for RPM based linux systems

Welcome to the Nettica Repository

You can use this repo to install the nettica-client for redhat/fedora linux distros.


# Install wireguard if not already installed
sudo dnf install wireguard-tools iptables curl

# Install above should have installed systemd-resolved. Enable and start it.
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved

# Install nettica-client
sudo dnf config-manager --add-repo https://rpm.nettica.com/nettica.repo
sudo dnf install nettica
# (You will be asked to accept the certificate on the first download)

# Set the config
# Create a device on https://my.nettica.com and copy and paste the config url text
# See https://nettica.com/adding-a-device-manually
# This can be skipped if you're installing on a desktop and using nettica agent.
# curl "http://localhost:53280/config/?id=device-cciAg&apiKey=device-api-bu5WuXRq&server=https://my.nettica.com"

# Enable IP forwarding for subnet routing or VPN tunneling
# Enable packet forwarding for IPv4 and IPv6
sudo sed -i "s/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g" /etc/sysctl.conf
sudo sed -i "s/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g" /etc/sysctl.conf
sudo sysctl -p

# Install and start nettica agent on desktops
sudo dnf install nettica.agent
nettica.agent &