Guest User

Vaters Büro zu Mein Büro

a guest
Jul 15th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. vpncfg {
  2. connections {
  3. enabled = yes;
  4. conn_type = conntype_lan;
  5. name = "Juniors Buero";
  6. always_renew = yes;
  7. reject_not_encrypted = no;
  8. dont_filter_netbios = yes;
  9. localip = 0.0.0.0;
  10. local_virtualip = 0.0.0.0;
  11. remoteip = 0.0.0.0;
  12. remote_virtualip = 0.0.0.0;
  13. remotehostname = "juniorsbuero.xyz";
  14. localid {
  15. fqdn = "meinbuero.xyz";
  16. }
  17. remoteid {
  18. fqdn = "juniorsbuero.xyz";
  19. }
  20. mode = phase1_mode_aggressive;
  21. phase1ss = "all/all/all";
  22. keytype = connkeytype_pre_shared;
  23. key = "SehrGeheimUndSo!";
  24. cert_do_server_auth = no;
  25. use_nat_t = yes;
  26. use_xauth = no;
  27. use_cfgmode = no;
  28. phase2localid {
  29. ipnet {
  30. ipaddr = 192.168.4.0;
  31. mask = 255.255.255.0;
  32. }
  33. }
  34. phase2remoteid {
  35. ipnet {
  36. ipaddr = 192.168.3.0;
  37. mask = 255.255.255.0;
  38. }
  39. }
  40. phase2ss = "esp-all-all/ah-none/comp-all/pfs";
  41. accesslist = "permit ip any 192.168.0.0 255.255.255.0",
  42. "permit ip any 192.168.1.0 255.255.255.0",
  43. "permit ip any 192.168.2.0 255.255.255.0",
  44. "permit ip any 192.168.3.0 255.255.255.0";
  45. }
  46. ike_forward_rules = "udp 0.0.0.0:500 0.0.0.0:500",
  47. "udp 0.0.0.0:4500 0.0.0.0:4500";
  48. }
  49.  
  50.  
  51. // EOF
Advertisement
Add Comment
Please, Sign In to add comment