default_attributes(
:networking => {
:interfaces => {
- :external_ipv4 => {
+ :internal_ipv4 => {
:interface => "eth0",
+ :role => :internal,
+ :family => :inet,
+ :address => "146.179.159.177"
+ },
+ :external_ipv4 => {
+ :interface => "eth1",
:role => :external,
:family => :inet,
- :address => ""
+ :address => "193.63.75.107"
},
:external_ipv6 => {
- :interface => "eth0",
+ :interface => "eth1",
:role => :external,
:family => :inet6,
- :address => ""
- },
- :internal_ipv4 => {
- :interface => "eth1",
- :role => :internal,
- :family => :inet,
- :address => ""
+ :address => "2001:630:12:500:225:90ff:fec4:f6ef"
+ }
+ }
+ },
+ :openvpn => {
+ :address => "10.0.16.2",
+ :tunnels => {
+ :ic2ucl => {
+ :port => "1194",
+ :mode => "server",
+ :peer => {
+ :host => "ridley.openstreetmap.org"
+ }
}
}
}
);
run_list(
- "role[ic]"
+ "role[ic]",
+ "role[gateway]",
+ "recipe[openvpn]"
)