Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config openvpn 'vpnserver'
- option enabled '1'
- option dev_type 'tun'
- option dev 'ovpns0'
- option port '1194'
- option proto 'udp'
- option comp_lzo 'yes'
- option keepalive '10 120'
- option persist_key '1'
- option persist_tun '1'
- option ca '/etc/openvpn/ca.crt'
- option cert '/etc/openvpn/my-server.crt'
- option key '/etc/openvpn/my-server.key'
- option dh '/etc/openvpn/dh2048.pem'
- option tls_auth '/etc/openvpn/tls-auth.key 0'
- option mode 'server'
- option tls_server '1'
- option server '192.168.200.0 255.255.255.0'
- option topology 'subnet'
- option client_to_client '1'
- list push 'comp-lzo yes'
- list push 'persist-key'
- list push 'persist-tun'
- list push 'topology subnet'
- list push 'route-gateway dhcp'
- list push 'redirect-gateway def1'
- list push 'route 192.168.200.0 255.255.255.0'
- list push 'dhcp-option DNS 192.168.1.1'
- option route_gateway '192.168.0.1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement