Benutzerspezifische Werkzeuge
Sie sind hier: Startseite Dokumente Site2Site VPN
Artikelaktionen

Site2Site VPN

von BeDaZuletzt verändert: 29.07.2009 02:19

Site2Site VPN Up and Running

remote onesite.dyndns.org
float                                   # DynIP
port 4711
dev tun
ifconfig 10.47.11.2 10.47.11.1          # first one local, second one remote 
persist-tun                             # needed to chroot the openvpn process
persist-key                             # needed to chroot the openvpn process
persist-local-ip                        # needed to chroot the openvpn process
persist-remote-ip                       # needed to chroot the openvpn process
comp-lzo                                # enable LZO compression for better performance
ping 60
verb 1
secret /etc/openvpn/sXn_bxXa.key        # full path to secret keyfile
route 192.168.1.0 255.255.255.0
route 172.12.60.32 255.255.255.224
route 172.12.60.64 255.255.255.192
route 172.12.60.128 255.255.255.224
chroot /var/empty
user nobody
group nobody
remote otherside.dyndns.org
float                                   # DynIP
port 4711
dev tun
ifconfig 10.47.11.1 10.47.11.2          # first one local, second one remote 
persist-tun                             # needed to chroot the openvpn process
persist-key                             # needed to chroot the openvpn process
persist-local-ip                        # needed to chroot the openvpn process
persist-remote-ip                       # needed to chroot the openvpn process
comp-lzo                                # enable LZO compression for better performance
ping 60
verb 1
secret /etc/openvpn/sXn_bxXa.key        # full path to secret keyfile
route 172.12.48.0 255.255.255.0
route 172.12.49.0 255.255.255.0
chroot /var/empty
user nobody
group nobody

Sehenswert

http://freshmeat.net/projects/cloudvpn
http://www.tinc-vpn.org/