Linux/OpenVPN: Difference between revisions

From Wiki
Line 11: Line 11:
* rc.local
* rc.local
  iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
  iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
* dnsmasq
/etc/init.d/dnsmasq start
apt-get install dnsmasq
* apt-get install dnsmasq
/etc/dnsmasq.conf
* /etc/dnsmasq.conf
  interfaces=tun0
  interfaces=tun0
  bind-interfaces
  bind-interfaces

Revision as of 21:36, 27 December 2013