Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mode server
- tls-server
- #local home.kirbynet.se ## ip/hostname of server
- port 1194 ## default openvpn port
- proto udp
- #bridging directive
- dev tap0 ## If you need multiple tap devices, add them here
- up "/etc/openvpn/up.sh br0"
- down "/etc/openvpn/down.sh br0"
- persist-key
- persist-tun
- #certificates and encryption
- ca ca.crt
- cert server.crt
- key server.key # This file should be kept secret
- dh dh1024.pem
- tls-auth ta.key 0 # This file is secret
- cipher BF-CBC # Blowfish (default)
- comp-lzo
- #DHCP Information
- ifconfig-pool-persist ipp.txt
- server-bridge 192.168.2.2 255.255.255.0 192.168.2.10 192.168.2.20
- push "dhcp-option DNS 192.168.2.1"
- push "dhcp-option DOMAIN Kirbynet.se"
- max-clients 10 ## set this to the max number of clients that should be connected at a time
- #log and security
- user nobody
- group nogroup
- keepalive 10 120
- status openvpn-status.log
- verb 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement