
4
Create the file
/etc/openvpn/server.conf
with the following content:
dev tun
ifconfig 10.23.8.1 10.23.8.2
secret secret.key
5
Start the YaST firewall module and UDP port 1194.
6
Start the OpenVPN service as
root
:
rcopenvpn start
16.2.2 Configuring the VPN Client
To configure the VPN client, do the following:
1
Install the package
openvpn
on the machine that will later become your VPN
client.
2
Create the file
/etc/openvpn/server.conf
with the following content:
remote IP_OF_SERVER
dev tun
ifconfig 10.23.8.2 10.23.8.1
secret secret.key
Replace the placeholder
IP_OF_SERVER
in the first line (
remote
) with either
the domain name or the public IP adress of your server.
3
Start the OpenVPN service as
root
:
rcopenvpn start
16.2.3 Testing the VPN Example
After the OpenVPN is successfully started, test if the tun device is available. You can
do so with the following command:
ifconfig tun0
186
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: ......