- Log in to post comments
# install
apt-get install dnsmasq
# configure
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o ! lo -j MASQUERADE
# restart
/etc/init.d/dnsmasq start
# install
apt-get install dnsmasq
# configure
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o ! lo -j MASQUERADE
# restart
/etc/init.d/dnsmasq start