
Example 16.2
VPN Client Configuration File
# /etc/openvpn/client.conf
client
❶
dev tun
❷
proto udp
❸
remote
IP_OR_HOSTNAME
1194
❹
resolv-retry infinite
nobind
# Privleges
❺
user nobody
group nobody
# Try to preserve some state across restarts.
persist-key
persist-tun
# Security
❻
ca
ssl/ca.crt
cert ssl/client.crt
key
ssl/client.key
comp-lzo
❼
❶
We have to specify that this machine is a client.
❷
The network device. Both clients and server must use the same device.
❸
The protocol. Use the same settings as on the server.
❹
Replace the placeholder
IP_OR_HOSTNAME
with the respective hostname or IP
address of your VPN server. After the hostname the port of the server is given.
You can have multiple lines of
remote
entries pointing to different VPN servers.
This is useful for load balancing between different VPN servers.
❺
For security reasons it is a good idea to run the OpenVPN daemon with reduced
privileges. For this reason the group and user
nobody
is used.
❻
Contains the client files. For security reasons, it is better to have a separate file
pair for each client.
❼
Turns compresson on. Use it only when the server has this parameter switched
on, as well.
192
Security Guide
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......