Advertisement
Xyberviri

ovh+vmware+pfsense

Jan 9th, 2015
894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. gateway address of 1.1.1.254
  2. /30 subnet of 2.2.2.0/30
  3. ip block 2.2.2.0-3
  4.  
  5. em0 in network
  6.  
  7. configured em0 with 2.2.2.1
  8. subnet bits: 32
  9. <enter> (ie no gateway)
  10.  
  11. route add -net 94.23.206.254/32 -iface em0
  12. route add default 94.23.206.254
  13.  
  14. vi /etc/rc.conf.local
  15. i
  16. route add -net 1.1.1.254/32 -iface em0
  17. route add default 1.1.1.254
  18. ESC
  19. :wq!
  20.  
  21. setup my lan interface ie em1 to use 192.168.1.1/24 with no gateway.
  22.  
  23. pfctl -d
  24.  
  25. connect to wan ip
  26.  
  27. create a VM with ip 192.168.1.2/24 and .1 as the gateway on the internal network.
  28.  
  29. Opened pfSense via browser, configure dhcp, dns, openvpn, exporte a openvpn login token
  30.  
  31. done
  32.  
  33. now create nats/forwards/etc/etc
  34.  
  35. http://magiksys.blogspot.be/2012/12/pfsense-bridge-gateway-vmware-ovh-ip.html
  36. https://forum.pfsense.org/index.php?topic=79141.0
  37. http://forum.ovh.co.uk/showthread.php?6507-ESXi-pfSense-and-failover-IP
  38. http://help.ovh.ie/BridgeClient#link6
  39.  
  40. https://www.freebsd.org/doc/handbook/network-routing.html
  41. http://www.cyberciti.biz/faq/freebsd-configure-ipv6-networking-static-ip-address/
  42. https://kb.wisc.edu/ns/page.php?id=12364
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement