-
-
Save fblaese/138aa8516c614eb8869dcacfd659dcc2 to your computer and use it in GitHub Desktop.
gateway2
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
config fff 'system' | |
option hostname 'mein-gateway' | |
option hoodname 'Hoodname' |
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
config gateway 'meta' | |
option config_version '1' | |
config vlan '1' | |
option comment 'client' | |
## t: tagged. CPU-Port wird automatisch hinzugefügt. | |
option ports '2 3 4 5t' | |
config vlan '2' | |
option comment 'wan' | |
option ports '1' | |
config vlan '10' | |
option comment 'nachbar-hochhaus' | |
option ports '5t' | |
config client | |
option vlan '1' | |
list ip6addr 'fd43:5602:29bd:k7::1/64' | |
list ip6addr '2a0b:f4c0:k7:e8::1/64' | |
list ipaddr '10.83.261.1/24' | |
option dhcp_start '10.83.261.50' | |
option dhcp_limit '1000' | |
option essid 'bla.freifunk' | |
option chan2ghz '13' | |
option chan5ghz '36' | |
config dns | |
list server 'fd43:5602:29bd:ffff::42' | |
list server 'fd43:5602:29bd:ffff:a:a:a:a' | |
list server 'fd43:5602:29bd:ffff::252' | |
## Vorsicht: Config-Namen dürfen keine '-' enthalten | |
config babelpeer 'hochhaus' | |
option vlan '101' | |
option type 'wired' | |
option rxcost '1024' | |
config wireguardpeer 'meingateway' | |
option endpoint_host '<ip oder dns>' | |
option endpoint_port '12345' | |
option persistent_keepalive '25' | |
option remote_public_key '<wg pubkey vom server>' | |
## Angeben eines private_key ist optional. Wird automatisch generiert, wenn nicht vorhanden. | |
option local_private_key '<wg privkey für gwfirmware>' | |
option rxcost '16384' | |
option mtu '1420' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment