daily pastebin goal
78%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server.conf
  2.  
  3. push "route 192.168.1.0 255.255.255.0"
  4. server 10.8.0.0 255.255.255.0
  5. dev tun0
  6. proto udp
  7. keepalive 10 120
  8. dh /tmp/openvpn/dh.pem
  9. ca /tmp/openvpn/ca.crt
  10. cert /tmp/openvpn/cert.pem
  11. key /tmp/openvpn/key.pem
  12.  
  13. firewall
  14.  
  15. iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
  16. iptables -I FORWARD 1 --source 10.8.0.0/24 -j ACCEPT
  17.  
  18. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  19. 10.8.0.5        0.0.0.0         255.255.255.255 UH    0      0        0 tun0
  20. 10.8.0.1        10.8.0.5        255.255.255.255 UGH   0      0        0 tun0
  21. 192.168.34.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
  22. 192.168.1.0     10.8.0.5        255.255.255.0   UG    0      0        0 tun0
  23. 172.16.42.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
  24. 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
  25. 0.0.0.0         172.16.42.1     0.0.0.0         UG    0      0        0 wlan0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top