-
-
Save igalic/642efb4e0f4da255382bc299ec65ce83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## IPv4, hetzner classic config, so we won't need DHCP | |
ifconfig_vtnet0="inet 95.217.178.41/32 -lro -tso -rxcsum -txcsum -rxcsum6 -txcsum6" | |
gateway_if="vtnet0" | |
gateway_ip="172.31.1.1" | |
static_routes="gateway default" | |
route_gateway="-host $gateway_ip -interface $gateway_if" | |
route_default="default $gateway_ip" | |
## the Virtual network! | |
cloned_interfaces="bridge0" | |
ifconfig_bridge0="inet 192.168.17.1/24" | |
gateway_enable="YES" | |
## We'll also put the IPv6 address on the bridge, for reasons of convinience | |
## with sharing it with jails | |
ipv6_activate_all_interfaces="YES" | |
ifconfig_bridge0_ipv6="inet6 2a01:4f9:c010:bdb0::1/64 auto_linklocal" | |
# our exit node is still vtnet0 tho | |
ipv6_defaultrouter="fe80::1%vtnet0" | |
# enable IPv6 gateway | |
ipv6_gateway_enable="YES" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment