Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server.conf
- push "route 192.168.1.0 255.255.255.0"
- server 10.8.0.0 255.255.255.0
- dev tun0
- proto udp
- keepalive 10 120
- dh /tmp/openvpn/dh.pem
- ca /tmp/openvpn/ca.crt
- cert /tmp/openvpn/cert.pem
- key /tmp/openvpn/key.pem
- firewall
- iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
- iptables -I FORWARD 1 --source 10.8.0.0/24 -j ACCEPT
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 10.8.0.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
- 10.8.0.1 10.8.0.5 255.255.255.255 UGH 0 0 0 tun0
- 192.168.34.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 192.168.1.0 10.8.0.5 255.255.255.0 UG 0 0 0 tun0
- 172.16.42.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
- 0.0.0.0 172.16.42.1 0.0.0.0 UG 0 0 0 wlan0
Add Comment
Please, Sign In to add comment