Category Archives: Linux
dnsmasq: setting capabilities failed: Operation not permitted
I added user=root to install/etc/dnsmasq.conf and then deleted and recreated the docker image and it works for me now. Hope this helps.
Reference: https://github.com/nicolasff/docker-cassandra/issues/8
Start up SoftEther Server Automatically
update-rc.d vpnserver defaults
Upgrade Ubnt Router
Route specific IP over VPN
iptables -t mangle -I PREROUTING -i eth0 -m iprange –src-range 192.168.18.2-192.168.18.19 -j MARK –set-mark 8
iptables -t mangle -A PREROUTING -i eth0 -m iprange –dst-range 119.247.224.98 -j MARK –set-mark 8
Disable RP Filter
for i in /proc/sys/net/ipv4/conf/*/rp_filter ; do
echo 0 > $i
done
http://ricotroubleshooting.blogspot.hk/2014/01/how-to-route-only-specific-ports.html
Ubuntu: Network driver reset to eth0?
rm -f /etc/udev/rules.d/70-persistent-net.rules
http://serverfault.com/questions/353839/ubuntu-network-driver-reset-to-eth0
Set up PPTP in Mirotik
Mikrotik Forwarding a port to an internal_IP
ip firewall nat add chain=dstnat dst-address=69.69.69.69 protocol=tcp dst-port=5900 action=dst-nat to-addresses=192.168.1.101 to-ports=5900
http://wiki.mikrotik.com/wiki/Forwarding_a_port_to_an_internal_IP