Changes

From Amahi Wiki
Jump to: navigation, search
26 bytes removed ,  02:34, 19 March 2016
no edit summary
These steps need to be done as '''root''' user:
{{Code| yum -y install bridge-utils nano /etc/openvpn/openvpn-startup}}
Add this at the end of the file:
{{Text|Text=
{{Code| nano /etc/openvpn/openvpn-shutdown}}
Add this text to the file:
{{Text|Text=#!/bin/sh
{{Code| chmod +x /etc/openvpn/openvpn-shutdown nano /etc/openvpn/amahi.conf}}
Remove the line that contains: ''dev tun''
and replace it with this:
And remove (or comment out) the lines that start with ''server'' and ''ifconfig-pool-persist''.
{{Code| iptables -A INPUT -i tap0 -j ACCEPT iptables -A INPUT -i br0 -j ACCEPT iptables -A FORWARD -i br0 -j ACCEPT service openvpn restart}}
* In your OpenVPN client (such as Amahi HDAConnect for Windows users) configuration, change ''dev tun'' with ''dev tap''. You'll also need to add a line that will make the client IP static:
{{Text|Text=ifconfig 192.168.0.x 255.255.255.0}}
12,424

edits