Skip to content

Networking Tips and Settings

config machine as router

1
2
3
4
5
#!/bin/sh

sudo iptables -P FORWARD ACCEPT
sudo iptables -t nat -s 10.0.0.0/24 -A POSTROUTING -j MASQUERADE
echo 1 > sudo tee /proc/sys/net/ipv4/ip_forward

Allow multicast on Locakhost

sudo ifconfig lo multicast

Posts