Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# basic router setup to preserv internet connecting while testing router performance
vi /etc/sysctl.conf
sysctl -p /etc/sysctl.conf
iptables -t nat -A POSTROUTING -j MASQUERADE
apt install isc-dhcp-server
vi /etc/ssh/sshd_config
vi /etc/dhcp/dhcpd.conf
systemctl restart isc-dhcpd-server
systemctl restart dhcpdsshd
Code Block
titlesysctl.conf
net.ipv4.ip_forward=1

...